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/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001779/0.001779, allocations: 188.2 kB / 7.804 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001053/0.001053, allocations: 86.22 kB / 261.4 MB, free: 13.52 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2328/0.2328, allocations: 43.5 MB / 352.8 MB, free: 1.941 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2593/0.4922, allocations: 64.97 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.8955, allocations: 58.84 MB / 476.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.501/7.397, allocations: 2.754 GB / 3.219 GB, free: 110.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/7.397, allocations: 82.72 kB / 3.219 GB, free: 110.8 MB / 0.4948 GB 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 1.028/8.425, allocations: 311.2 MB / 3.523 GB, free: 0.5039 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/8.425, allocations: 8 kB / 3.523 GB, free: 0.4961 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/8.427, allocations: 223.3 kB / 3.523 GB, free: 284 kB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2806/8.708, allocations: 334.8 kB / 3.524 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.529e-05/8.708, allocations: 13.5 kB / 3.524 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/8.708, allocations: 13.75 kB / 3.524 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004582/8.708, allocations: 237.6 kB / 3.524 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004553/8.709, allocations: 321.2 kB / 3.524 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/8.709, allocations: 3.844 kB / 3.524 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.742e-05/8.709, allocations: 4.156 kB / 3.524 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/8.709, allocations: 12.09 kB / 3.524 GB, free: 113 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002913/8.712, allocations: 2.321 MB / 3.526 GB, free: 111.3 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/8.712, allocations: 136 kB / 3.527 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.467e-05/8.712, allocations: 60.03 kB / 3.527 GB, free: 111.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03115/8.743, allocations: 16.47 MB / 3.543 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.344e-05/8.744, allocations: 45.22 kB / 3.543 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=15): time 3.076e-06/8.744, allocations: 0 / 3.543 GB, free: 101.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=15): time 0.001312/8.745, allocations: 275.3 kB / 3.543 GB, free: 101 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/8.745, allocations: 109.3 kB / 3.543 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003519/8.745, allocations: 225.6 kB / 3.543 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/8.745, allocations: 25.7 kB / 3.543 GB, free: 100.8 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/8.745, allocations: 190.7 kB / 3.544 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/8.746, allocations: 48.81 kB / 3.544 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.339e-05/8.746, allocations: 4.312 kB / 3.544 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001324/8.746, allocations: 337.5 kB / 3.544 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001086/8.746, allocations: 54.11 kB / 3.544 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000188/8.746, allocations: 174.4 kB / 3.544 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/8.746, allocations: 92.58 kB / 3.544 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/8.746, allocations: 0 / 3.544 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008954/8.747, allocations: 371.1 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/8.747, allocations: 3.938 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/8.747, allocations: 3.844 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/8.747, allocations: 9.656 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003212/8.748, allocations: 78.62 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/8.748, allocations: 11.89 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003201/8.748, allocations: 46.27 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/8.748, allocations: 17.2 kB / 3.545 GB, free: 100.1 MB / 0.4948 GB 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 () * 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.0001019/8.748, allocations: 112.1 kB / 3.545 GB, free: 99.99 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003803/8.749, allocations: 130.1 kB / 3.545 GB, free: 99.97 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/8.75, allocations: 0.9984 MB / 3.546 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/8.75, allocations: 10.05 kB / 3.546 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/8.75, allocations: 3 kB / 3.546 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/8.75, allocations: 0 / 3.546 GB, free: 99.88 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001526/8.751, allocations: 1.448 MB / 3.547 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/8.751, allocations: 0 / 3.547 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002054/8.752, allocations: 51 kB / 3.547 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/8.752, allocations: 0 / 3.547 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/8.752, allocations: 9.344 kB / 3.547 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/8.752, allocations: 0 / 3.547 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/8.752, allocations: 3.312 kB / 3.547 GB, free: 99.58 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001016/8.753, allocations: 0.8774 MB / 3.548 GB, free: 99.41 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001296/8.754, allocations: 1.332 MB / 3.55 GB, free: 98.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 6.336e-05/8.754, allocations: 114.4 kB / 3.55 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.118e-05/8.754, allocations: 3.156 kB / 3.55 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/8.754, allocations: 27.27 kB / 3.55 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-05/8.754, allocations: 28.28 kB / 3.55 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/8.755, allocations: 13.22 kB / 3.55 GB, free: 98.75 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001297/8.755, allocations: 171.4 kB / 3.55 GB, free: 98.67 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004898/8.76, allocations: 0.9611 MB / 3.551 GB, free: 98.66 MB / 0.4948 GB 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,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete 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.004644/8.764, allocations: 1.441 MB / 3.552 GB, free: 98.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006299/8.765, allocations: 450.9 kB / 3.553 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/8.765, allocations: 0 / 3.553 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004071/8.765, allocations: 429.1 kB / 3.553 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007243/8.766, allocations: 120.6 kB / 3.553 GB, free: 98.55 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/8.767, allocations: 0.7272 MB / 3.554 GB, free: 98.39 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004749/8.768, allocations: 0.8913 MB / 3.555 GB, free: 97.67 MB / 0.4948 GB Notification: Performance of SimCode: time 5.21e-07/8.768, allocations: 0 / 3.555 GB, free: 97.67 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy.pipe 2>&1)