Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2",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.003754/0.003754, allocations: 179.8 kB / 7.458 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6987/0.6987, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 221.3 MB / 395 MB, free: 10.18 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000985/0.0009848, allocations: 93.39 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4154/0.4165, allocations: 88.43 MB / 0.5529 GB, free: 89.23 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.5838, allocations: 82.3 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.609, allocations: 380.9 MB / 1.005 GB, free: 252.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/1.609, allocations: 99.16 kB / 1.005 GB, free: 252.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1418 * Number of variables: 1418 Notification: Performance of Generate backend data structure: time 8.455/10.06, allocations: 2.337 GB / 3.343 GB, free: 29.41 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/10.06, allocations: 11.61 kB / 3.343 GB, free: 29.4 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009932/10.07, allocations: 1.261 MB / 3.344 GB, free: 28.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03744/10.11, allocations: 13.16 MB / 3.357 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000453/10.11, allocations: 176 kB / 3.357 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004194/10.12, allocations: 355.9 kB / 3.357 GB, free: 14.61 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.5135/10.63, allocations: 18.14 MB / 3.375 GB, free: 125.8 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03316/10.66, allocations: 12.76 MB / 3.387 GB, free: 125 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000423/10.66, allocations: 20.38 kB / 3.387 GB, free: 125 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00358/10.67, allocations: 15.69 kB / 3.387 GB, free: 125 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001855/10.67, allocations: 138.7 kB / 3.388 GB, free: 125 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1257/10.79, allocations: 62.22 MB / 3.448 GB, free: 107.2 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01216/10.81, allocations: 8.475 MB / 3.457 GB, free: 107.1 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01246/10.82, allocations: 9.409 MB / 3.466 GB, free: 106.8 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06863/10.89, allocations: 29.52 MB / 3.495 GB, free: 99.6 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01309/10.9, allocations: 7.352 MB / 3.502 GB, free: 99.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=301): time 9.308e-06/10.9, allocations: 0 / 3.502 GB, free: 99.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=301): time 0.03582/10.94, allocations: 14.94 MB / 3.516 GB, free: 98.91 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.069e-05/10.94, allocations: 86.31 kB / 3.516 GB, free: 98.85 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01803/10.95, allocations: 6.677 MB / 3.523 GB, free: 98.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.002431/10.96, allocations: 36.14 kB / 3.523 GB, free: 98.39 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005964/10.96, allocations: 2.568 MB / 3.525 GB, free: 97.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.005564/10.97, allocations: 1.047 MB / 3.527 GB, free: 96.89 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002274/10.97, allocations: 3.391 kB / 3.527 GB, free: 96.89 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0005856/10.97, allocations: 498 kB / 3.527 GB, free: 96.58 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009904/10.98, allocations: 6.25 MB / 3.533 GB, free: 96.56 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01138/10.99, allocations: 8.012 MB / 3.541 GB, free: 92.06 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01353/11.01, allocations: 7.321 MB / 3.548 GB, free: 89.38 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001446/11.01, allocations: 11.69 kB / 3.548 GB, free: 89.38 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.04268/11.05, allocations: 16.74 MB / 3.564 GB, free: 83.74 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.006455/11.05, allocations: 24.63 MB / 3.588 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003011/11.06, allocations: 45.78 kB / 3.589 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005166/11.06, allocations: 1.614 MB / 3.59 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00973/11.07, allocations: 1.566 MB / 3.592 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008336/11.08, allocations: 4.643 MB / 3.596 GB, free: 54.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0146/11.09, allocations: 0.6976 MB / 3.597 GB, free: 54.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003369/11.1, allocations: 0.541 MB / 3.597 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/11.1, allocations: 0 / 3.597 GB, free: 54.7 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03593/11.13, allocations: 15.91 MB / 3.613 GB, free: 49.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002869/11.13, allocations: 49.16 kB / 3.613 GB, free: 49.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005385/11.14, allocations: 1.476 MB / 3.614 GB, free: 49.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01038/11.15, allocations: 1.576 MB / 3.616 GB, free: 49.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01326/11.16, allocations: 7.857 MB / 3.624 GB, free: 44.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01242/11.17, allocations: 0.5936 MB / 3.624 GB, free: 44.14 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003235/11.18, allocations: 0.5347 MB / 3.625 GB, free: 44.11 MB / 0.7136 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 215 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (524): * Single equations (assignments): 519 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,2 5,20 21} Notification: Performance of prepare postOptimizeDAE: time 0.004466/11.18, allocations: 259.1 kB / 3.625 GB, free: 43.96 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005796/11.19, allocations: 0.7057 MB / 3.626 GB, free: 43.59 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03764/11.23, allocations: 14.43 MB / 3.64 GB, free: 33.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-05/11.23, allocations: 36 kB / 3.64 GB, free: 33.54 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.931e-05/11.23, allocations: 6.625 kB / 3.64 GB, free: 33.53 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0169/11.24, allocations: 10.31 MB / 3.65 GB, free: 24.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04721/11.29, allocations: 23.31 MB / 3.673 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/11.29, allocations: 6.891 kB / 3.673 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005876/11.3, allocations: 0.6834 MB / 3.673 GB, free: 4.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002204/11.3, allocations: 0.803 MB / 3.674 GB, free: 3.312 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001105/11.3, allocations: 74.28 kB / 3.674 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004254/11.3, allocations: 3.397 MB / 3.677 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/11.3, allocations: 0 / 3.677 GB, free: 36 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.5025/11.81, allocations: 18.62 MB / 3.696 GB, free: 120.6 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04049/11.85, allocations: 26.52 MB / 3.722 GB, free: 119.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008485/11.86, allocations: 1.97 MB / 3.723 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004539/11.86, allocations: 32.27 kB / 3.723 GB, free: 119.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009585/11.87, allocations: 319.1 kB / 3.724 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001551/11.87, allocations: 197.4 kB / 3.724 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001467/11.87, allocations: 157.3 kB / 3.724 GB, free: 119.1 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.01209/11.88, allocations: 5.089 MB / 3.729 GB, free: 118.9 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.03009/11.91, allocations: 5.04 MB / 3.734 GB, free: 118.6 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 22 (pump.vol.dynBal.U,hea.outCon.T,vol[1].dynBal.U,vol[2].dynBal.U,vol[3].dynBal.U,vol[4].dynBal.U,vol[5].dynBal.U,vol[6].dynBal.U,vol[7].dynBal.U,vol[8].dynBal.U,vol[9].dynBal.U,vol[10].dynBal.U,vol[11].dynBal.U,vol[12].dynBal.U,vol[13].dynBal.U,vol[14].dynBal.U,vol[15].dynBal.U,vol[16].dynBal.U,vol[17].dynBal.U,vol[18].dynBal.U,vol[19].dynBal.U,vol[20].dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (303): * Single equations (assignments): 294 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {3 4,20 21,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.00462/11.92, allocations: 1.183 MB / 3.735 GB, free: 118.4 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0399/11.96, allocations: 23.14 MB / 3.758 GB, free: 118 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.345e-05/11.96, allocations: 3.594 kB / 3.758 GB, free: 118 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.009658/11.97, allocations: 6.113 MB / 3.764 GB, free: 118 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02337/11.99, allocations: 3.81 MB / 3.767 GB, free: 118 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0541/12.05, allocations: 17.68 MB / 3.785 GB, free: 115.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01597/12.06, allocations: 6.588 MB / 3.791 GB, free: 114.5 MB / 0.7136 GB Notification: Performance of SimCode: time 1.803e-06/12.06, allocations: 0 / 3.791 GB, free: 114.5 MB / 0.7136 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example1v2.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)