Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|traceSubstance.C|traceSubstance1.C",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 103.3 kB / 16.52 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 199.4 kB / 17.44 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.867/1.867, allocations: 205.1 MB / 223.3 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2405/0.2405, allocations: 43.51 MB / 314.1 MB, free: 0.7578 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001475/0.001475, allocations: 61.81 kB / 382.7 MB, free: 57.03 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.138/0.1395, allocations: 57.8 MB / 440.5 MB, free: 7.512 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances): time 0.561/0.7005, allocations: 185.1 MB / 0.6109 GB, free: 6.648 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.7037, allocations: 0.9268 MB / 0.6118 GB, free: 6.086 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008748/0.7046, allocations: 8.688 kB / 0.6118 GB, free: 6.082 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001249/0.706, allocations: 177.1 kB / 0.612 GB, free: 5.957 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001313/0.7074, allocations: 270.7 kB / 0.6123 GB, free: 5.789 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008347/0.7157, allocations: 1.853 MB / 0.6141 GB, free: 4.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002254/0.718, allocations: 1.298 MB / 0.6153 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006992/0.7187, allocations: 279 kB / 0.6156 GB, free: 3.918 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005976/0.7247, allocations: 1.566 MB / 0.6171 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008673/0.7256, allocations: 327.1 kB / 0.6175 GB, free: 3 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001278/0.7257, allocations: 22.41 kB / 0.6175 GB, free: 3 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007149/0.7329, allocations: 2.986 MB / 0.6204 GB, free: 1.176 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.7334, allocations: 175.5 kB / 0.6206 GB, free: 1.004 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000749/0.7342, allocations: 246.8 kB / 0.6208 GB, free: 0.7617 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.7379, allocations: 1.482 MB / 0.6222 GB, free: 15.28 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.738, allocations: 3.938 kB / 0.6222 GB, free: 15.27 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.738, allocations: 4 kB / 0.6223 GB, free: 15.27 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.318e-05/0.738, allocations: 0 / 0.6223 GB, free: 15.27 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.003345/0.7414, allocations: 1.06 MB / 0.6233 GB, free: 14.15 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.7415, allocations: 8.031 kB / 0.6233 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004272/0.7419, allocations: 59.44 kB / 0.6234 GB, free: 14.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008376/0.7428, allocations: 373.9 kB / 0.6237 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.269e-05/0.7428, allocations: 25 kB / 0.6237 GB, free: 13.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.653e-05/0.7429, allocations: 40 kB / 0.6238 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/0.7441, allocations: 0.5236 MB / 0.6243 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.717e-05/0.7442, allocations: 0 / 0.6243 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-05/0.7442, allocations: 16 kB / 0.6243 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.7443, allocations: 12 kB / 0.6243 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009899/0.7453, allocations: 495.3 kB / 0.6248 GB, free: 12.55 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/0.7485, allocations: 1.978 MB / 0.6267 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008757/0.7494, allocations: 462.8 kB / 0.6272 GB, free: 9.934 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003461/0.7498, allocations: 178.5 kB / 0.6273 GB, free: 9.75 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.7508, allocations: 0.9493 MB / 0.6283 GB, free: 8.598 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.382e-05/0.7509, allocations: 42.55 kB / 0.6283 GB, free: 8.547 MB / 446.1 MB Notification: Performance of pre-optimization done (n=30): time 2.114e-06/0.7509, allocations: 0 / 0.6283 GB, free: 8.547 MB / 446.1 MB Notification: Performance of matching and sorting (n=30): time 0.001291/0.7522, allocations: 0.493 MB / 0.6288 GB, free: 8.047 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.7523, allocations: 102.8 kB / 0.6289 GB, free: 7.922 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004684/0.7527, allocations: 397.6 kB / 0.6292 GB, free: 7.527 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.419e-05/0.7528, allocations: 33.7 kB / 0.6293 GB, free: 7.488 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.753, allocations: 224.3 kB / 0.6295 GB, free: 7.266 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/0.7531, allocations: 98.56 kB / 0.6296 GB, free: 7.168 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001537/0.7532, allocations: 85.89 kB / 0.6297 GB, free: 7.078 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002103/0.7535, allocations: 350.8 kB / 0.63 GB, free: 6.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003464/0.7538, allocations: 148.7 kB / 0.6301 GB, free: 6.582 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004236/0.7543, allocations: 266 kB / 0.6304 GB, free: 6.277 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008342/0.7551, allocations: 482.5 kB / 0.6309 GB, free: 5.75 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/0.7551, allocations: 8 kB / 0.6309 GB, free: 5.742 MB / 446.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001223/0.7563, allocations: 0.5625 MB / 0.6314 GB, free: 5.16 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/0.7565, allocations: 64.02 kB / 0.6315 GB, free: 5.086 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.482e-05/0.7565, allocations: 4.375 kB / 0.6315 GB, free: 5.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.497e-05/0.7565, allocations: 8 kB / 0.6315 GB, free: 5.074 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.7569, allocations: 83.89 kB / 0.6316 GB, free: 4.992 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/0.757, allocations: 15.86 kB / 0.6316 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.7574, allocations: 55.42 kB / 0.6316 GB, free: 4.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.695e-05/0.7575, allocations: 20 kB / 0.6317 GB, free: 4.902 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance.ind,traceSubstance1.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003504/0.7578, allocations: 201.5 kB / 0.6319 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.758, allocations: 39.53 kB / 0.6319 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.7592, allocations: 486.7 kB / 0.6324 GB, free: 4.164 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.7592, allocations: 4 kB / 0.6324 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.7592, allocations: 0 / 0.6324 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/0.7592, allocations: 0 / 0.6324 GB, free: 4.16 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/0.7625, allocations: 2.434 MB / 0.6347 GB, free: 1.379 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.7625, allocations: 8.031 kB / 0.6347 GB, free: 1.371 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002971/0.7628, allocations: 59.89 kB / 0.6348 GB, free: 1.312 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/0.7629, allocations: 4 kB / 0.6348 GB, free: 1.309 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.7629, allocations: 15.94 kB / 0.6348 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.852e-06/0.7629, allocations: 3.938 kB / 0.6348 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.7629, allocations: 4 kB / 0.6348 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009983/0.7639, allocations: 0.6393 MB / 0.6354 GB, free: 0.6094 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.7641, allocations: 124.5 kB / 0.6356 GB, free: 480 kB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/0.7641, allocations: 15.98 kB / 0.6356 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.7646, allocations: 28.27 kB / 0.6356 GB, free: 436 kB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.082e-05/0.7647, allocations: 23.97 kB / 0.6356 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.7648, allocations: 23.97 kB / 0.6357 GB, free: 388 kB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004428/0.7652, allocations: 359.1 kB / 0.636 GB, free: 32 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.7652, allocations: 4 kB / 0.636 GB, free: 28 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.001449/0.7667, allocations: 387.6 kB / 0.6364 GB, free: 15.65 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001468/0.7682, allocations: 0.569 MB / 0.6369 GB, free: 15.08 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0008853/0.7691, allocations: 459.3 kB / 0.6374 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.7691, allocations: 0 / 0.6374 GB, free: 14.61 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003372/0.7694, allocations: 175.7 kB / 0.6375 GB, free: 14.43 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/0.7709, allocations: 270.9 kB / 0.6378 GB, free: 14.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.7724, allocations: 0.9687 MB / 0.6387 GB, free: 13.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005432/0.7729, allocations: 0.8354 MB / 0.6396 GB, free: 12.29 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.7731, allocations: 51.44 kB / 0.6396 GB, free: 12.24 MB / 462.1 MB Notification: Performance of SimCode: time 5.41e-07/0.7731, allocations: 0 / 0.6396 GB, free: 12.24 MB / 462.1 MB Notification: Performance of Templates: time 0.02236/0.7955, allocations: 12 MB / 0.6513 GB, free: 276 kB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstances.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestTraceSubstancesCalcHelperMain.o] Error 1