Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.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.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes,fileNamePrefix="ModelicaTest_3_2_3_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 3.2.3+maint.om/package.mo): time 0.001308/0.001308, allocations: 188.5 kB / 7.803 MB, free: 2.488 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.553/1.553, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.000993/0.0009929, allocations: 91.36 kB / 261.4 MB, free: 13.62 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.2269/0.2269, allocations: 43.48 MB / 352.8 MB, free: 2.023 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2618/0.4887, allocations: 64.98 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.9117, allocations: 58.84 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6416/1.553, allocations: 301.2 MB / 0.7596 GB, free: 31.75 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004159/1.554, allocations: 83.5 kB / 0.7597 GB, free: 31.7 MB / 474.7 MB 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.6528/2.207, allocations: 152.6 MB / 0.9087 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/2.207, allocations: 9.312 kB / 0.9087 GB, free: 120.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008854/2.208, allocations: 122.8 kB / 0.9089 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001734/2.209, allocations: 0.6079 MB / 0.9095 GB, free: 120 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002086/2.21, allocations: 224.2 kB / 0.9097 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/2.21, allocations: 44 kB / 0.9097 GB, free: 119.7 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00168/2.212, allocations: 0.8316 MB / 0.9105 GB, free: 118.8 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002419/2.214, allocations: 1.166 MB / 0.9117 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.744e-05/2.214, allocations: 7.938 kB / 0.9117 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001926/2.214, allocations: 7.906 kB / 0.9117 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.235e-05/2.214, allocations: 41.3 kB / 0.9117 GB, free: 117.5 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006996/2.221, allocations: 6.714 MB / 0.9183 GB, free: 110.4 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003819/2.222, allocations: 229.7 kB / 0.9185 GB, free: 110.2 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002267/2.222, allocations: 141.4 kB / 0.9186 GB, free: 110 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002769/2.225, allocations: 2.836 MB / 0.9214 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/2.225, allocations: 34.75 kB / 0.9214 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=21): time 3.747e-06/2.225, allocations: 4 kB / 0.9214 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of matching and sorting (n=27): time 0.002975/2.228, allocations: 0.8656 MB / 0.9223 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/2.228, allocations: 63.38 kB / 0.9223 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001012/2.229, allocations: 0.6555 MB / 0.923 GB, free: 105 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.163e-05/2.229, allocations: 25.7 kB / 0.923 GB, free: 105 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003129/2.229, allocations: 0.5462 MB / 0.9235 GB, free: 104.4 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.797e-05/2.23, allocations: 118.5 kB / 0.9236 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/2.23, allocations: 4 kB / 0.9237 GB, free: 104.3 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001385/2.23, allocations: 382.8 kB / 0.924 GB, free: 103.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000368/2.23, allocations: 210.5 kB / 0.9242 GB, free: 103.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007645/2.231, allocations: 0.9251 MB / 0.9251 GB, free: 102.4 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009351/2.232, allocations: 444.6 kB / 0.9255 GB, free: 102 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/2.232, allocations: 8 kB / 0.9256 GB, free: 102 MB / 0.4948 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.00204/2.234, allocations: 1.028 MB / 0.9266 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.324e-05/2.234, allocations: 4.219 kB / 0.9266 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.633e-05/2.234, allocations: 32 kB / 0.9266 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.882e-05/2.234, allocations: 36 kB / 0.9266 GB, free: 100.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/2.235, allocations: 279.5 kB / 0.9269 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.925e-05/2.235, allocations: 55.78 kB / 0.9269 GB, free: 100.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007863/2.236, allocations: 39.83 kB / 0.927 GB, free: 100.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/2.236, allocations: 72 kB / 0.9271 GB, free: 100.4 MB / 0.4948 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.000212/2.236, allocations: 180.1 kB / 0.9272 GB, free: 100.3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001263/2.236, allocations: 75.06 kB / 0.9273 GB, free: 100.2 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008674/2.237, allocations: 392 kB / 0.9277 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.205e-05/2.237, allocations: 4 kB / 0.9277 GB, free: 99.79 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/2.237, allocations: 4 kB / 0.9277 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/2.237, allocations: 3.984 kB / 0.9277 GB, free: 99.78 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001566/2.239, allocations: 0.8861 MB / 0.9285 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/2.239, allocations: 0 / 0.9285 GB, free: 98.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002757/2.239, allocations: 51.97 kB / 0.9286 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/2.239, allocations: 4 kB / 0.9286 GB, free: 98.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/2.239, allocations: 4 kB / 0.9286 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/2.239, allocations: 7.938 kB / 0.9286 GB, free: 98.79 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/2.239, allocations: 3.984 kB / 0.9286 GB, free: 98.78 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007584/2.24, allocations: 0.5406 MB / 0.9291 GB, free: 98.21 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009968/2.241, allocations: 1.065 MB / 0.9302 GB, free: 97.12 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002509/2.241, allocations: 196 kB / 0.9304 GB, free: 96.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/2.241, allocations: 128 / 0.9304 GB, free: 96.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004216/2.242, allocations: 15.98 kB / 0.9304 GB, free: 96.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/2.242, allocations: 15.98 kB / 0.9304 GB, free: 96.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.174e-05/2.242, allocations: 23.97 kB / 0.9304 GB, free: 96.85 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0004895/2.242, allocations: 447.1 kB / 0.9308 GB, free: 96.42 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002052/2.244, allocations: 339.8 kB / 0.9312 GB, free: 96.09 MB / 0.4948 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.001002/2.245, allocations: 417.4 kB / 0.9316 GB, free: 95.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.000785/2.246, allocations: 0.5528 MB / 0.9321 GB, free: 95.15 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 5.641e-06/2.246, allocations: 4.125 kB / 0.9321 GB, free: 95.15 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001622/2.246, allocations: 119.8 kB / 0.9322 GB, free: 95.03 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001125/2.247, allocations: 232.8 kB / 0.9325 GB, free: 94.81 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/2.249, allocations: 1.003 MB / 0.9334 GB, free: 93.78 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006929/2.25, allocations: 1.097 MB / 0.9345 GB, free: 92.65 MB / 0.4948 GB Notification: Performance of SimCode: time 2.6e-07/2.25, allocations: 0 / 0.9345 GB, free: 92.65 MB / 0.4948 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestMixingVolumes.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestMixingVolumes.pipe 2>&1)