Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.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.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|specificEntropy.s|specificEntropy1.s",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007985, allocations: 95.88 kB / 16.33 MB, free: 6.402 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.0007896/0.0007896, allocations: 187 kB / 17.22 MB, free: 6.305 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.499/1.499, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.2117/0.2117, allocations: 43.56 MB / 315.2 MB, free: 0.5547 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.0005465/0.0005468, allocations: 12 kB / 384.6 MB, free: 57.05 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1218/0.1224, allocations: 58.86 MB / 443.4 MB, free: 5.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy): time 0.02646/0.1489, allocations: 27.94 MB / 471.4 MB, free: 9.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01871/0.1676, allocations: 16.36 MB / 487.7 MB, free: 9.348 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004334/0.1681, allocations: 7.938 kB / 487.7 MB, free: 9.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006617/0.1688, allocations: 178.9 kB / 487.9 MB, free: 9.164 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.1695, allocations: 258.5 kB / 488.2 MB, free: 8.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01535/0.1848, allocations: 4.639 MB / 492.8 MB, free: 4.273 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00141/0.1863, allocations: 0.9473 MB / 493.7 MB, free: 3.32 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003484/0.1866, allocations: 184.9 kB / 493.9 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01399/0.2006, allocations: 8.919 MB / 0.4911 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005227/0.2012, allocations: 231 kB / 0.4913 GB, free: 9.98 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.762e-05/0.2012, allocations: 16 kB / 0.4913 GB, free: 9.965 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01152/0.2128, allocations: 6.009 MB / 0.4972 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.213, allocations: 75.72 kB / 0.4972 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.2132, allocations: 97.52 kB / 0.4973 GB, free: 3.773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004858/0.218, allocations: 2.573 MB / 0.4998 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.218, allocations: 0 / 0.4998 GB, free: 1.195 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.2181, allocations: 0 / 0.4998 GB, free: 1.195 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.2181, allocations: 0 / 0.4998 GB, free: 1.195 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.002051/0.2201, allocations: 0.9822 MB / 0.5008 GB, free: 168 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.2202, allocations: 12.03 kB / 0.5008 GB, free: 156 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001403/0.2216, allocations: 199.4 kB / 0.501 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004303/0.222, allocations: 317.4 kB / 0.5013 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.069e-05/0.2221, allocations: 28.56 kB / 0.5013 GB, free: 15.58 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.2221, allocations: 31.94 kB / 0.5014 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.2233, allocations: 0.491 MB / 0.5018 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.147e-05/0.2233, allocations: 4 kB / 0.5018 GB, free: 15.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.598e-05/0.2233, allocations: 12 kB / 0.5019 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.2233, allocations: 8 kB / 0.5019 GB, free: 15 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001098/0.2244, allocations: 433.2 kB / 0.5023 GB, free: 14.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003063/0.2275, allocations: 2.45 MB / 0.5047 GB, free: 11.91 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.2286, allocations: 354.3 kB / 0.505 GB, free: 11.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002683/0.2289, allocations: 116.8 kB / 0.5051 GB, free: 11.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02816/0.257, allocations: 16.61 MB / 0.5213 GB, free: 8.824 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/0.2571, allocations: 50.45 kB / 0.5214 GB, free: 8.766 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.2572, allocations: 0 / 0.5214 GB, free: 8.766 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.001918/0.2591, allocations: 0.5631 MB / 0.5219 GB, free: 8.199 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.564e-05/0.2592, allocations: 110.8 kB / 0.522 GB, free: 8.066 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.2595, allocations: 316.5 kB / 0.5223 GB, free: 7.754 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2596, allocations: 29.7 kB / 0.5224 GB, free: 7.719 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.2597, allocations: 211.6 kB / 0.5226 GB, free: 7.508 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.447e-05/0.2598, allocations: 47.3 kB / 0.5226 GB, free: 7.461 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/0.2598, allocations: 7.938 kB / 0.5226 GB, free: 7.453 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001488/0.26, allocations: 342.8 kB / 0.523 GB, free: 7.109 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.2602, allocations: 99.94 kB / 0.5231 GB, free: 7.012 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000323/0.2606, allocations: 224.5 kB / 0.5233 GB, free: 6.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002669/0.2609, allocations: 127.9 kB / 0.5234 GB, free: 6.613 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.2609, allocations: 0 / 0.5234 GB, free: 6.613 MB / 414.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006811/0.2616, allocations: 360.8 kB / 0.5237 GB, free: 6.254 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.2616, allocations: 10.34 kB / 0.5237 GB, free: 6.246 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.2616, allocations: 11.94 kB / 0.5238 GB, free: 6.234 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2616, allocations: 4 kB / 0.5238 GB, free: 6.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.2619, allocations: 76.33 kB / 0.5238 GB, free: 6.156 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2619, allocations: 11.94 kB / 0.5238 GB, free: 6.145 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.2622, allocations: 59.56 kB / 0.5239 GB, free: 6.086 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.702e-05/0.2622, allocations: 12 kB / 0.5239 GB, free: 6.074 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001668/0.2624, allocations: 157.8 kB / 0.5241 GB, free: 5.91 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.513e-05/0.2625, allocations: 31.62 kB / 0.5241 GB, free: 5.879 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2639, allocations: 1.144 MB / 0.5252 GB, free: 4.719 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.91e-05/0.2639, allocations: 15.97 kB / 0.5252 GB, free: 4.703 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.2639, allocations: 3.938 kB / 0.5252 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.2639, allocations: 0 / 0.5252 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006559/0.2646, allocations: 0.6638 MB / 0.5259 GB, free: 3.984 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2646, allocations: 4 kB / 0.5259 GB, free: 3.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002015/0.2648, allocations: 55.95 kB / 0.5259 GB, free: 3.926 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.2648, allocations: 11.94 kB / 0.5259 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.2648, allocations: 0 / 0.5259 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2648, allocations: 0 / 0.5259 GB, free: 3.914 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.2648, allocations: 4 kB / 0.5259 GB, free: 3.91 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007882/0.2656, allocations: 0.6388 MB / 0.5266 GB, free: 3.258 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.2658, allocations: 199.9 kB / 0.5268 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.182e-05/0.2659, allocations: 0 / 0.5268 GB, free: 3.043 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.2661, allocations: 39.86 kB / 0.5268 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.2662, allocations: 23.95 kB / 0.5268 GB, free: 2.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.2662, allocations: 4 kB / 0.5268 GB, free: 2.977 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003481/0.2665, allocations: 334.9 kB / 0.5271 GB, free: 2.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2665, allocations: 0 / 0.5271 GB, free: 2.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.002689/0.2692, allocations: 0.8511 MB / 0.528 GB, free: 1.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003112/0.2724, allocations: 0.9975 MB / 0.529 GB, free: 0.793 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0007218/0.2731, allocations: 380.3 kB / 0.5293 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2731, allocations: 0 / 0.5293 GB, free: 436 kB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003665/0.2735, allocations: 268.5 kB / 0.5296 GB, free: 168 kB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/0.2744, allocations: 170.7 kB / 0.5297 GB, free: 0 / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.221/0.4954, allocations: 1.292 MB / 0.531 GB, free: 93.44 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003056/0.4957, allocations: 0.8781 MB / 0.5319 GB, free: 92.73 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/0.4959, allocations: 34.59 kB / 0.5319 GB, free: 92.73 MB / 414.1 MB Notification: Performance of SimCode: time 1.183e-06/0.4959, allocations: 1.781 kB / 0.5319 GB, free: 92.73 MB / 414.1 MB Notification: Performance of Templates: time 0.03969/0.5356, allocations: 20.36 MB / 0.5518 GB, free: 84.18 MB / 414.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.o OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropyCalcHelperMain.o] Error 1