Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",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 4.0.0+maint.om/package.mo): time 0.0009956/0.0009956, allocations: 169.3 kB / 8.514 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.17/1.17, allocations: 221.4 MB / 230.3 MB, free: 7.699 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009155/0.0009155, allocations: 93.91 kB / 281.2 MB, free: 5.512 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.155/0.155, allocations: 44.14 MB / 376.1 MB, free: 3.246 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1682/0.3233, allocations: 68.03 MB / 444.1 MB, free: 15.53 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0874/0.4107, allocations: 61.91 MB / 0.4942 GB, free: 1.547 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5295/0.9402, allocations: 302.4 MB / 0.7895 GB, free: 88.53 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002027/0.9405, allocations: 90.84 kB / 0.7896 GB, free: 88.49 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: 206 * Number of variables: 206 Notification: Performance of Generate backend data structure: time 0.4215/1.362, allocations: 155.6 MB / 0.9416 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.048e-05/1.362, allocations: 8.531 kB / 0.9416 GB, free: 134.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000501/1.363, allocations: 120.2 kB / 0.9417 GB, free: 134.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009716/1.364, allocations: 0.6191 MB / 0.9423 GB, free: 134.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/1.364, allocations: 220 kB / 0.9425 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/1.364, allocations: 47.12 kB / 0.9426 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001171/1.365, allocations: 0.8212 MB / 0.9434 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001353/1.366, allocations: 1.174 MB / 0.9445 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.552e-05/1.366, allocations: 7.625 kB / 0.9445 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.874e-05/1.366, allocations: 3.531 kB / 0.9445 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.809e-05/1.367, allocations: 45.81 kB / 0.9446 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/1.371, allocations: 6.714 MB / 0.9511 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002735/1.372, allocations: 223.1 kB / 0.9513 GB, free: 127.6 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001751/1.372, allocations: 140 kB / 0.9515 GB, free: 127.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001753/1.374, allocations: 2.843 MB / 0.9542 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.646e-05/1.374, allocations: 38.69 kB / 0.9543 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/1.374, allocations: 0 / 0.9543 GB, free: 124.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=27): time 0.001729/1.375, allocations: 0.8639 MB / 0.9551 GB, free: 124 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.857e-05/1.375, allocations: 62.17 kB / 0.9552 GB, free: 124 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007368/1.376, allocations: 0.6485 MB / 0.9558 GB, free: 123.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.356e-05/1.376, allocations: 26.89 kB / 0.9558 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002299/1.376, allocations: 0.5594 MB / 0.9564 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.028e-05/1.376, allocations: 104.3 kB / 0.9565 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.124e-05/1.376, allocations: 1.406 kB / 0.9565 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.785e-05/1.377, allocations: 388.3 kB / 0.9569 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/1.377, allocations: 216.7 kB / 0.9571 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000541/1.377, allocations: 0.9214 MB / 0.958 GB, free: 121.6 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008143/1.378, allocations: 443.8 kB / 0.9584 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.876e-05/1.378, allocations: 10.59 kB / 0.9584 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001803/1.38, allocations: 1.029 MB / 0.9594 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.28e-05/1.38, allocations: 4.344 kB / 0.9594 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/1.38, allocations: 25.91 kB / 0.9594 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.587e-05/1.38, allocations: 38.97 kB / 0.9595 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008206/1.381, allocations: 275.8 kB / 0.9597 GB, free: 121.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.433e-05/1.381, allocations: 53.97 kB / 0.9598 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007562/1.382, allocations: 39.06 kB / 0.9598 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/1.382, allocations: 82.47 kB / 0.9599 GB, free: 121.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 117 * Number of states: 0 () * Number of discrete variables: 12 (mixingVolume1.regularFlow[1],mixingVolume1.regularFlow[2],mixingVolume1.regularFlow[3],mixingVolume2.regularFlow[1],mixingVolume2.regularFlow[2],mixingVolume2.regularFlow[3],mixingVolume2.inFlow[3],mixingVolume2.inFlow[2],mixingVolume2.inFlow[1],mixingVolume1.inFlow[3],mixingVolume1.inFlow[2],mixingVolume1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 154 * 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.0001568/1.382, allocations: 168.9 kB / 0.9601 GB, free: 121 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/1.382, allocations: 77.06 kB / 0.9601 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007404/1.383, allocations: 369.4 kB / 0.9605 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/1.383, allocations: 7.344 kB / 0.9605 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.383, allocations: 0 / 0.9605 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/1.383, allocations: 8.734 kB / 0.9605 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/1.384, allocations: 0.8874 MB / 0.9614 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/1.384, allocations: 1.344 kB / 0.9614 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002898/1.385, allocations: 56.53 kB / 0.9614 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/1.385, allocations: 1.438 kB / 0.9614 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.144e-05/1.385, allocations: 6.844 kB / 0.9614 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.385, allocations: 4.812 kB / 0.9614 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/1.385, allocations: 0 / 0.9614 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007839/1.386, allocations: 0.5547 MB / 0.962 GB, free: 120 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001022/1.387, allocations: 1.06 MB / 0.963 GB, free: 119.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/1.387, allocations: 186.3 kB / 0.9632 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/1.387, allocations: 6.141 kB / 0.9632 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/1.387, allocations: 17.48 kB / 0.9632 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/1.387, allocations: 17.33 kB / 0.9632 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.982e-05/1.388, allocations: 23.36 kB / 0.9633 GB, free: 119.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0005013/1.388, allocations: 451.1 kB / 0.9637 GB, free: 118.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001816/1.39, allocations: 338.6 kB / 0.964 GB, free: 118.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (mixingVolume1.medium.T,mixingVolume2.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0007716/1.391, allocations: 425 kB / 0.9644 GB, free: 118.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0008348/1.391, allocations: 0.5584 MB / 0.965 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.391, allocations: 1.406 kB / 0.965 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001741/1.392, allocations: 116.4 kB / 0.9651 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/1.393, allocations: 237.2 kB / 0.9653 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/1.395, allocations: 1.002 MB / 0.9663 GB, free: 118 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/1.395, allocations: 1.096 MB / 0.9673 GB, free: 117.2 MB / 0.5105 GB Notification: Performance of SimCode: time 2.8e-07/1.395, allocations: 0 / 0.9673 GB, free: 117.2 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)