Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.Example1v1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1",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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.228/1.228, allocations: 249.4 MB / 256.7 MB, free: 6.945 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001279/0.001279, allocations: 196 kB / 316 MB, free: 3.582 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.043/1.043, allocations: 205.1 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000787/0.000787, allocations: 82.02 kB / 0.671 GB, free: 4.848 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2845/0.2853, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.4195, allocations: 106.3 MB / 0.8846 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8678/1.287, allocations: 415.4 MB / 1.29 GB, free: 318.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/1.287, allocations: 92 kB / 1.29 GB, free: 318.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 3.13/4.417, allocations: 1.311 GB / 2.601 GB, free: 25.83 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/4.417, allocations: 8 kB / 2.601 GB, free: 25.82 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002884/4.42, allocations: 0.554 MB / 2.602 GB, free: 25.27 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01082/4.431, allocations: 4.358 MB / 2.606 GB, free: 20.91 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/4.431, allocations: 48 kB / 2.606 GB, free: 20.87 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002789/4.431, allocations: 112 kB / 2.606 GB, free: 20.76 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002358/4.434, allocations: 1.638 MB / 2.608 GB, free: 19.12 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002436/4.436, allocations: 1.833 MB / 2.61 GB, free: 17.14 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-05/4.436, allocations: 7.938 kB / 2.61 GB, free: 17.14 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001417/4.436, allocations: 7.906 kB / 2.61 GB, free: 17.13 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-05/4.436, allocations: 40 kB / 2.61 GB, free: 17.09 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01334/4.45, allocations: 11.53 MB / 2.621 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001378/4.451, allocations: 1.207 MB / 2.622 GB, free: 3.789 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008999/4.452, allocations: 0.917 MB / 2.623 GB, free: 2.871 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3014/4.753, allocations: 3.358 MB / 2.626 GB, free: 218.3 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007965/4.754, allocations: 0.6492 MB / 2.627 GB, free: 218.3 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=98): time 3.376e-06/4.754, allocations: 0 / 2.627 GB, free: 218.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=98): time 0.004006/4.758, allocations: 2.017 MB / 2.629 GB, free: 218.2 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.459e-05/4.758, allocations: 63.94 kB / 2.629 GB, free: 218.1 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002723/4.761, allocations: 2.232 MB / 2.631 GB, free: 217.9 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/4.761, allocations: 33.02 kB / 2.631 GB, free: 217.9 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005717/4.762, allocations: 0.8398 MB / 2.632 GB, free: 217.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002722/4.762, allocations: 332.8 kB / 2.632 GB, free: 217.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.009e-05/4.762, allocations: 0 / 2.632 GB, free: 217.5 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/4.762, allocations: 367.1 kB / 2.633 GB, free: 217.2 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006631/4.763, allocations: 0.5491 MB / 2.633 GB, free: 217.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000924/4.764, allocations: 1.297 MB / 2.635 GB, free: 216.3 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/4.765, allocations: 0.8609 MB / 2.635 GB, free: 216.3 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/4.765, allocations: 11.45 kB / 2.635 GB, free: 216.3 MB / 0.9011 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.004121/4.77, allocations: 2.46 MB / 2.638 GB, free: 216 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008782/4.77, allocations: 5.897 MB / 2.644 GB, free: 209.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/4.77, allocations: 15.5 kB / 2.644 GB, free: 209.7 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008537/4.771, allocations: 457.1 kB / 2.644 GB, free: 209.7 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/4.772, allocations: 288.1 kB / 2.644 GB, free: 209.7 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/4.774, allocations: 2.062 MB / 2.646 GB, free: 208.7 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/4.776, allocations: 221.6 kB / 2.647 GB, free: 208.6 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/4.777, allocations: 83.53 kB / 2.647 GB, free: 208.6 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/4.777, allocations: 3.969 kB / 2.647 GB, free: 208.6 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003358/4.78, allocations: 2.068 MB / 2.649 GB, free: 208.4 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/4.78, allocations: 15.25 kB / 2.649 GB, free: 208.4 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007669/4.781, allocations: 406.3 kB / 2.649 GB, free: 208.4 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/4.782, allocations: 280.7 kB / 2.649 GB, free: 208.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004887/4.787, allocations: 5.371 MB / 2.655 GB, free: 205.8 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/4.789, allocations: 186.2 kB / 2.655 GB, free: 205.8 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/4.789, allocations: 78.95 kB / 2.655 GB, free: 205.8 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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 (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003605/4.789, allocations: 161.1 kB / 2.655 GB, free: 205.7 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002926/4.79, allocations: 284 kB / 2.655 GB, free: 205.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/4.794, allocations: 2.335 MB / 2.658 GB, free: 205.4 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.344e-05/4.794, allocations: 15.44 kB / 2.658 GB, free: 205.4 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/4.794, allocations: 0 / 2.658 GB, free: 205.4 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002429/4.796, allocations: 1.905 MB / 2.659 GB, free: 205 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005835/4.802, allocations: 3.923 MB / 2.663 GB, free: 204.5 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/4.802, allocations: 6.156 kB / 2.663 GB, free: 204.5 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000823/4.803, allocations: 183 kB / 2.663 GB, free: 204.5 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006979/4.804, allocations: 390.9 kB / 2.664 GB, free: 204.5 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.857e-05/4.804, allocations: 16.61 kB / 2.664 GB, free: 204.5 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001234/4.805, allocations: 1.905 MB / 2.666 GB, free: 203.4 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/4.805, allocations: 5.938 kB / 2.666 GB, free: 203.4 MB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003559/4.808, allocations: 2.908 MB / 2.669 GB, free: 203 MB / 0.9011 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004548/4.813, allocations: 4.15 MB / 2.673 GB, free: 202.2 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009985/4.814, allocations: 0.4884 MB / 2.673 GB, free: 201.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003363/4.814, allocations: 0 / 2.673 GB, free: 201.9 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/4.816, allocations: 127.4 kB / 2.673 GB, free: 201.9 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/4.816, allocations: 84.31 kB / 2.673 GB, free: 201.9 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.73e-05/4.816, allocations: 48.89 kB / 2.673 GB, free: 201.9 MB / 0.9011 GB Notification: Performance of sort global known variables: time 0.001959/4.818, allocations: 1.701 MB / 2.675 GB, free: 201.8 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.004943/4.823, allocations: 1.638 MB / 2.677 GB, free: 201.7 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (84): * Single equations (assignments): 76 * 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: 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 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.001598/4.824, allocations: 1.047 MB / 2.678 GB, free: 201.5 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.003705/4.828, allocations: 2.72 MB / 2.68 GB, free: 201.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/4.828, allocations: 0 / 2.68 GB, free: 201.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0008825/4.829, allocations: 0.6857 MB / 2.681 GB, free: 201.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004111/4.833, allocations: 1.023 MB / 2.682 GB, free: 201.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006409/4.84, allocations: 4.071 MB / 2.686 GB, free: 200.2 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/4.841, allocations: 2.337 MB / 2.688 GB, free: 199.5 MB / 0.9011 GB Notification: Performance of SimCode: time 9.31e-07/4.841, allocations: 2.344 kB / 2.688 GB, free: 199.5 MB / 0.9011 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_Example1v1.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)