Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.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.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV",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.001358/0.001358, allocations: 186.1 kB / 7.799 MB, free: 2.5 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.656/1.656, allocations: 205.2 MB / 213.4 MB, free: 13.83 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.001374/0.001374, allocations: 93.34 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.2326/0.2326, allocations: 43.5 MB / 352.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2623/0.4949, allocations: 64.96 MB / 417.8 MB, free: 40.46 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.9311, allocations: 58.84 MB / 476.7 MB, free: 5.188 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.618/7.549, allocations: 2.764 GB / 3.229 GB, free: 102.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/7.55, allocations: 88.2 kB / 3.23 GB, free: 102.5 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: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 1.627/9.177, allocations: 418.6 MB / 3.638 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 7.747e-05/9.177, allocations: 9.094 kB / 3.638 GB, free: 54.05 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003282/9.18, allocations: 314 kB / 3.639 GB, free: 54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/9.182, allocations: 0.5387 MB / 3.639 GB, free: 53.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/9.182, allocations: 23.25 kB / 3.639 GB, free: 53.63 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002149/9.183, allocations: 30.62 kB / 3.639 GB, free: 53.63 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001463/9.184, allocations: 0.5144 MB / 3.64 GB, free: 53.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001722/9.186, allocations: 0.6468 MB / 3.64 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.293e-05/9.186, allocations: 1.5 kB / 3.64 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001343/9.186, allocations: 1.781 kB / 3.64 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.091e-05/9.186, allocations: 24.2 kB / 3.64 GB, free: 53.09 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09747/9.284, allocations: 44.25 MB / 3.684 GB, free: 17.96 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007491/9.284, allocations: 344.2 kB / 3.684 GB, free: 17.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000323/9.285, allocations: 187.3 kB / 3.684 GB, free: 17.47 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05322/9.338, allocations: 24.09 MB / 3.708 GB, free: 7.234 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.717e-05/9.338, allocations: 34.89 kB / 3.708 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=39): time 4.028e-06/9.338, allocations: 0 / 3.708 GB, free: 7.191 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.003749/9.342, allocations: 0.8031 MB / 3.708 GB, free: 6.383 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.185e-05/9.342, allocations: 118.7 kB / 3.709 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008463/9.343, allocations: 365 kB / 3.709 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-05/9.343, allocations: 29.7 kB / 3.709 GB, free: 5.844 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002662/9.343, allocations: 271.8 kB / 3.709 GB, free: 5.57 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001972/9.343, allocations: 138 kB / 3.709 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/9.343, allocations: 0 / 3.709 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001817/9.344, allocations: 362.7 kB / 3.71 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003572/9.344, allocations: 173.3 kB / 3.71 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/9.345, allocations: 350.2 kB / 3.71 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/9.346, allocations: 279.8 kB / 3.71 GB, free: 4.211 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/9.346, allocations: 4 kB / 3.71 GB, free: 4.207 MB / 0.5105 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003554/9.349, allocations: 1.02 MB / 3.711 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000981/9.35, allocations: 1.923 MB / 3.713 GB, free: 1.109 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/9.35, allocations: 4 kB / 3.713 GB, free: 1.105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008918/9.351, allocations: 176.7 kB / 3.713 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005172/9.352, allocations: 127.8 kB / 3.714 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2877/9.639, allocations: 0.8224 MB / 3.714 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/9.641, allocations: 116.7 kB / 3.714 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-05/9.641, allocations: 30.02 kB / 3.714 GB, free: 124 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/9.641, allocations: 3.812 kB / 3.715 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002566/9.643, allocations: 0.6966 MB / 3.715 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/9.644, allocations: 3.938 kB / 3.715 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008411/9.644, allocations: 168.1 kB / 3.715 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004336/9.645, allocations: 135.4 kB / 3.715 GB, free: 124 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008735/9.646, allocations: 0.773 MB / 3.716 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008514/9.647, allocations: 87.2 kB / 3.716 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.763e-05/9.647, allocations: 29.88 kB / 3.716 GB, free: 123.4 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 6 (Sink.medium.phase,pump.heatTransfer.states[1].phase,Source.medium.phase,Valve.state_b.phase,Valve.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000258/9.647, allocations: 131.3 kB / 3.716 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/9.648, allocations: 265.4 kB / 3.717 GB, free: 123.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003379/9.651, allocations: 2.336 MB / 3.719 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.429e-05/9.651, allocations: 27.48 kB / 3.719 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/9.651, allocations: 6.922 kB / 3.719 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/9.651, allocations: 5.344 kB / 3.719 GB, free: 123.2 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003983/9.655, allocations: 3.009 MB / 3.722 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/9.655, allocations: 2.188 kB / 3.722 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/9.655, allocations: 71.34 kB / 3.722 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000864/9.656, allocations: 364.2 kB / 3.722 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.624e-05/9.656, allocations: 10.44 kB / 3.722 GB, free: 122.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001058/9.657, allocations: 0.9819 MB / 3.723 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/9.657, allocations: 0 / 3.723 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002727/9.66, allocations: 1.887 MB / 3.725 GB, free: 122 MB / 0.5105 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003089/9.663, allocations: 2.34 MB / 3.727 GB, free: 121.3 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004396/9.664, allocations: 254.7 kB / 3.728 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/9.664, allocations: 0 / 3.728 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005287/9.664, allocations: 66.95 kB / 3.728 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/9.665, allocations: 43.55 kB / 3.728 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/9.665, allocations: 23.44 kB / 3.728 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0004244/9.665, allocations: 352 kB / 3.728 GB, free: 121 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008526/9.674, allocations: 1.62 MB / 3.73 GB, free: 121 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: 16 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.009386/9.683, allocations: 1.807 MB / 3.732 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002281/9.685, allocations: 1.309 MB / 3.733 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.831e-06/9.685, allocations: 0 / 3.733 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000917/9.686, allocations: 0.8941 MB / 3.734 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00154/9.688, allocations: 235.5 kB / 3.734 GB, free: 120.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/9.69, allocations: 1.506 MB / 3.735 GB, free: 120.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006408/9.691, allocations: 1.101 MB / 3.736 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of SimCode: time 8.12e-07/9.691, allocations: 1.422 kB / 3.736 GB, free: 119.9 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDefaultLV.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDefaultLV.pipe 2>&1)