Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.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.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",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.001372/0.001372, allocations: 191.5 kB / 7.806 MB, free: 2.453 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.534/1.534, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001003/0.001003, allocations: 94.5 kB / 261.4 MB, free: 13.54 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.2209/0.2209, allocations: 43.49 MB / 352.9 MB, free: 1.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2349/0.4559, allocations: 64.96 MB / 417.8 MB, free: 40.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3837/0.8396, allocations: 58.85 MB / 476.7 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.178/7.018, allocations: 2.764 GB / 3.229 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003239/7.018, allocations: 86.34 kB / 3.229 GB, free: 121.3 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 1.544/8.563, allocations: 355.2 MB / 3.576 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/8.563, allocations: 9.438 kB / 3.576 GB, free: 68.57 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004494/8.567, allocations: 477.6 kB / 3.577 GB, free: 68.53 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00176/8.569, allocations: 0.5646 MB / 3.577 GB, free: 68.3 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001709/8.569, allocations: 97.66 kB / 3.577 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/8.569, allocations: 35.28 kB / 3.577 GB, free: 68.24 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001771/8.571, allocations: 0.7452 MB / 3.578 GB, free: 68.23 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001615/8.573, allocations: 0.8423 MB / 3.579 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/8.573, allocations: 3.281 kB / 3.579 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/8.573, allocations: 3.188 kB / 3.579 GB, free: 68.05 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.923e-05/8.573, allocations: 43.45 kB / 3.579 GB, free: 68.04 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08984/8.663, allocations: 44.64 MB / 3.623 GB, free: 41.14 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/8.664, allocations: 0.59 MB / 3.623 GB, free: 41.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005657/8.665, allocations: 311 kB / 3.623 GB, free: 41.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03434/8.699, allocations: 16.57 MB / 3.64 GB, free: 30.28 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.058e-05/8.699, allocations: 36.98 kB / 3.64 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/8.699, allocations: 0 / 3.64 GB, free: 30.24 MB / 0.5105 GB Notification: Performance of matching and sorting (n=43): time 0.005297/8.705, allocations: 1.345 MB / 3.641 GB, free: 30.15 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/8.705, allocations: 107.5 kB / 3.641 GB, free: 30.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006735/8.705, allocations: 393.5 kB / 3.641 GB, free: 29.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/8.706, allocations: 29.61 kB / 3.642 GB, free: 29.87 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001944/8.706, allocations: 298.8 kB / 3.642 GB, free: 29.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/8.706, allocations: 140 kB / 3.642 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-05/8.706, allocations: 0 / 3.642 GB, free: 29.59 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001187/8.706, allocations: 358 kB / 3.642 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004464/8.707, allocations: 318.3 kB / 3.643 GB, free: 29.27 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/8.707, allocations: 479.2 kB / 3.643 GB, free: 29.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002279/8.709, allocations: 0.6069 MB / 3.644 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/8.709, allocations: 0 / 3.644 GB, free: 29.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.005375/8.715, allocations: 1.548 MB / 3.645 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.362e-05/8.715, allocations: 3.906 kB / 3.645 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.173e-05/8.715, allocations: 7.484 kB / 3.645 GB, free: 28.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/8.716, allocations: 422.8 kB / 3.646 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005565/8.717, allocations: 131 kB / 3.646 GB, free: 28.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003036/8.72, allocations: 1.928 MB / 3.648 GB, free: 27.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/8.721, allocations: 110.4 kB / 3.648 GB, free: 27.86 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/8.721, allocations: 32.95 kB / 3.648 GB, free: 27.86 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000261/8.721, allocations: 135.8 kB / 3.648 GB, free: 27.75 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009691/8.722, allocations: 271.8 kB / 3.648 GB, free: 27.72 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/8.727, allocations: 2.833 MB / 3.651 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.548e-05/8.727, allocations: 28.08 kB / 3.651 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/8.727, allocations: 0 / 3.651 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/8.727, allocations: 3.906 kB / 3.651 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005527/8.732, allocations: 3.665 MB / 3.654 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/8.732, allocations: 3.688 kB / 3.654 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002838/8.733, allocations: 67.77 kB / 3.655 GB, free: 27.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001279/8.734, allocations: 0.7265 MB / 3.655 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.517e-05/8.734, allocations: 11 kB / 3.655 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002976/8.737, allocations: 2.343 MB / 3.658 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/8.737, allocations: 9 kB / 3.658 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004189/8.741, allocations: 2.376 MB / 3.66 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005425/8.747, allocations: 2.822 MB / 3.663 GB, free: 24.95 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008622/8.748, allocations: 287.9 kB / 3.663 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000326/8.748, allocations: 3.75 kB / 3.663 GB, free: 24.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009292/8.749, allocations: 53.41 kB / 3.663 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002304/8.749, allocations: 68.17 kB / 3.663 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/8.749, allocations: 22.77 kB / 3.663 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0007747/8.75, allocations: 365.8 kB / 3.663 GB, free: 24.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007982/8.758, allocations: 1.321 MB / 3.665 GB, free: 24.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01112/8.769, allocations: 1.743 MB / 3.666 GB, free: 24.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002762/8.772, allocations: 1.215 MB / 3.668 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/8.772, allocations: 5.719 kB / 3.668 GB, free: 24.11 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001746/8.774, allocations: 1.004 MB / 3.669 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001911/8.776, allocations: 258.9 kB / 3.669 GB, free: 24.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/8.779, allocations: 1.659 MB / 3.67 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009071/8.78, allocations: 1.129 MB / 3.672 GB, free: 23.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.393e-06/8.78, allocations: 0 / 3.672 GB, free: 23.02 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume.pipe 2>&1)