Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Fluid_Examples_Performance_Example1v2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example1v2,fileNamePrefix="IDEAS_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.00437/0.00437, allocations: 179 kB / 7.46 MB, free: 2.504 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, allocations: 133.5 MB / 141.4 MB, free: 15.7 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.778/1.778, allocations: 221.3 MB / 395 MB, free: 10.23 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.001127/0.001127, allocations: 86.8 kB / 477.8 MB, free: 10.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5824/0.5836, allocations: 88.43 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.8367, allocations: 82.29 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.347/2.184, allocations: 380.9 MB / 1.005 GB, free: 252 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/2.184, allocations: 88.33 kB / 1.005 GB, free: 251.9 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.797/10.98, allocations: 2.337 GB / 3.343 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/10.98, allocations: 8 kB / 3.343 GB, free: 28.45 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01516/11, allocations: 1.269 MB / 3.344 GB, free: 27.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05789/11.06, allocations: 13.16 MB / 3.357 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005508/11.06, allocations: 180 kB / 3.357 GB, free: 14 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004274/11.06, allocations: 351.9 kB / 3.357 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4984/11.56, allocations: 18.14 MB / 3.375 GB, free: 126.9 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03082/11.59, allocations: 12.77 MB / 3.387 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004425/11.59, allocations: 25.03 kB / 3.387 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003372/11.59, allocations: 9.438 kB / 3.387 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001479/11.59, allocations: 139.8 kB / 3.388 GB, free: 126.1 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1284/11.72, allocations: 62.22 MB / 3.448 GB, free: 108.3 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01188/11.73, allocations: 8.472 MB / 3.457 GB, free: 108.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01252/11.75, allocations: 9.405 MB / 3.466 GB, free: 107.9 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06689/11.81, allocations: 29.52 MB / 3.495 GB, free: 100.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01285/11.83, allocations: 7.359 MB / 3.502 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=301): time 1.032e-05/11.83, allocations: 0 / 3.502 GB, free: 100.6 MB / 0.7136 GB Notification: Performance of matching and sorting (n=301): time 0.03583/11.86, allocations: 14.95 MB / 3.516 GB, free: 100 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.575e-05/11.86, allocations: 82.97 kB / 3.516 GB, free: 99.94 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01732/11.88, allocations: 6.677 MB / 3.523 GB, free: 99.51 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.00249/11.88, allocations: 30.39 kB / 3.523 GB, free: 99.48 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.005356/11.89, allocations: 2.574 MB / 3.525 GB, free: 98.51 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.00539/11.89, allocations: 1.039 MB / 3.526 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002116/11.89, allocations: 0 / 3.526 GB, free: 97.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0004932/11.9, allocations: 0.4891 MB / 3.527 GB, free: 97.67 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0094/11.9, allocations: 6.249 MB / 3.533 GB, free: 97.65 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01077/11.92, allocations: 8.013 MB / 3.541 GB, free: 93.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/11.93, allocations: 7.321 MB / 3.548 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.994e-05/11.93, allocations: 15.34 kB / 3.548 GB, free: 90.41 MB / 0.7136 GB Notification: Performance of matching and sorting (n=578) (initialization): time 0.0359/11.96, allocations: 16.74 MB / 3.564 GB, free: 84.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.005715/11.97, allocations: 24.63 MB / 3.588 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/11.97, allocations: 47.25 kB / 3.589 GB, free: 58.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00519/11.98, allocations: 1.615 MB / 3.59 GB, free: 58.37 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009863/11.99, allocations: 1.564 MB / 3.592 GB, free: 58.33 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008011/11.99, allocations: 4.643 MB / 3.596 GB, free: 55.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01361/12.01, allocations: 0.6964 MB / 3.597 GB, free: 55.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003435/12.01, allocations: 0.5439 MB / 3.597 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/12.01, allocations: 2.5 kB / 3.597 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03757/12.05, allocations: 15.9 MB / 3.613 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/12.05, allocations: 46.09 kB / 3.613 GB, free: 50.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004491/12.05, allocations: 1.477 MB / 3.614 GB, free: 50.1 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008998/12.06, allocations: 1.573 MB / 3.616 GB, free: 50.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/12.07, allocations: 7.865 MB / 3.624 GB, free: 45.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01232/12.09, allocations: 0.5915 MB / 3.624 GB, free: 45.18 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003419/12.09, allocations: 0.5387 MB / 3.625 GB, free: 45.15 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.004126/12.09, allocations: 263.8 kB / 3.625 GB, free: 45 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004276/12.1, allocations: 0.7074 MB / 3.626 GB, free: 44.62 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03147/12.13, allocations: 14.43 MB / 3.64 GB, free: 33.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.355e-05/12.13, allocations: 36 kB / 3.64 GB, free: 33.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.308e-06/12.13, allocations: 1.594 kB / 3.64 GB, free: 33.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01599/12.15, allocations: 10.32 MB / 3.65 GB, free: 23.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04584/12.19, allocations: 23.3 MB / 3.673 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.357e-05/12.19, allocations: 0 / 3.673 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005862/12.2, allocations: 0.684 MB / 3.673 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002178/12.2, allocations: 0.8021 MB / 3.674 GB, free: 3 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001219/12.2, allocations: 66.28 kB / 3.674 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4458/12.65, allocations: 3.407 MB / 3.677 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.258e-06/12.65, allocations: 5.906 kB / 3.677 GB, free: 121.6 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02947/12.68, allocations: 18.63 MB / 3.696 GB, free: 121.2 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03981/12.72, allocations: 26.52 MB / 3.722 GB, free: 120.2 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007718/12.72, allocations: 1.975 MB / 3.723 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004361/12.73, allocations: 16.89 kB / 3.723 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01032/12.74, allocations: 329.7 kB / 3.724 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001586/12.74, allocations: 198.8 kB / 3.724 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001558/12.74, allocations: 164.5 kB / 3.724 GB, free: 119.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.01267/12.75, allocations: 5.09 MB / 3.729 GB, free: 119.5 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0318/12.79, allocations: 5.035 MB / 3.734 GB, free: 119.2 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.004665/12.79, allocations: 1.174 MB / 3.735 GB, free: 119 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.04262/12.83, allocations: 23.15 MB / 3.758 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/12.83, allocations: 2.875 kB / 3.758 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.01131/12.85, allocations: 6.111 MB / 3.764 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02451/12.87, allocations: 3.812 MB / 3.767 GB, free: 118.6 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04858/12.92, allocations: 17.68 MB / 3.785 GB, free: 116 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01216/12.93, allocations: 6.587 MB / 3.791 GB, free: 115.1 MB / 0.7136 GB Notification: Performance of SimCode: time 1.422e-06/12.93, allocations: 0 / 3.791 GB, free: 115.1 MB / 0.7136 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_Example1v2.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v2.pipe 2>&1)