Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3",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/BuildSysPro 3.5.0/package.mo): time 0.7612/0.7612, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001258/0.001259, allocations: 181.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.146/2.146, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001174/0.001173, allocations: 82.41 kB / 476.3 MB, free: 8.832 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3899/0.3911, allocations: 82.88 MB / 0.546 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1953/0.5864, allocations: 76.76 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.825, allocations: 370.8 MB / 0.9832 GB, free: 111 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.826, allocations: 90.52 kB / 0.9832 GB, free: 111 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 2.792/4.617, allocations: 0.695 GB / 1.678 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/4.617, allocations: 9.719 kB / 1.678 GB, free: 113.2 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002084/4.619, allocations: 345.6 kB / 1.679 GB, free: 113.1 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006645/4.626, allocations: 2.684 MB / 1.681 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/4.626, allocations: 33.75 kB / 1.681 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/4.626, allocations: 66.69 kB / 1.681 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001491/4.628, allocations: 0.8515 MB / 1.682 GB, free: 112.6 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001502/4.629, allocations: 1.08 MB / 1.683 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/4.629, allocations: 9.188 kB / 1.683 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.872e-05/4.629, allocations: 7.625 kB / 1.683 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/4.629, allocations: 22.66 kB / 1.683 GB, free: 112.4 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007818/4.637, allocations: 6.752 MB / 1.69 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/4.638, allocations: 0.5478 MB / 1.69 GB, free: 108.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004839/4.639, allocations: 352 kB / 1.691 GB, free: 108.1 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002317/4.641, allocations: 1.397 MB / 1.692 GB, free: 107.5 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003937/4.641, allocations: 314.8 kB / 1.692 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=43): time 2.374e-06/4.641, allocations: 0 / 1.692 GB, free: 107.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=43): time 0.005811/4.647, allocations: 1.152 MB / 1.694 GB, free: 107.3 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.326e-05/4.647, allocations: 59.28 kB / 1.694 GB, free: 107.2 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00201/4.649, allocations: 1.383 MB / 1.695 GB, free: 107 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/4.649, allocations: 28.33 kB / 1.695 GB, free: 107 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004692/4.65, allocations: 0.5542 MB / 1.696 GB, free: 106.7 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000178/4.65, allocations: 147.7 kB / 1.696 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.653e-05/4.65, allocations: 0 / 1.696 GB, free: 106.6 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 7.559e-05/4.65, allocations: 343.2 kB / 1.696 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/4.651, allocations: 292.4 kB / 1.696 GB, free: 106.3 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005739/4.651, allocations: 0.7227 MB / 1.697 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001086/4.652, allocations: 447.5 kB / 1.697 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/4.652, allocations: 3.969 kB / 1.697 GB, free: 105.8 MB / 0.6667 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.005203/4.658, allocations: 1.396 MB / 1.699 GB, free: 105.6 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008865/4.659, allocations: 4.176 MB / 1.703 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/4.659, allocations: 11.12 kB / 1.703 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004751/4.659, allocations: 216.2 kB / 1.703 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000788/4.66, allocations: 172 kB / 1.703 GB, free: 101.2 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/4.661, allocations: 0.9854 MB / 1.704 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001957/4.663, allocations: 136.5 kB / 1.704 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/4.663, allocations: 57.41 kB / 1.704 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.068e-05/4.663, allocations: 3.688 kB / 1.704 GB, free: 100.7 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002027/4.665, allocations: 0.9341 MB / 1.705 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/4.665, allocations: 7.531 kB / 1.705 GB, free: 100.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/4.666, allocations: 116.1 kB / 1.705 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006091/4.666, allocations: 164.9 kB / 1.706 GB, free: 100.5 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001869/4.668, allocations: 1.984 MB / 1.707 GB, free: 99.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/4.67, allocations: 106.4 kB / 1.708 GB, free: 99.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.254e-05/4.67, allocations: 48.81 kB / 1.708 GB, free: 99.24 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 80 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002898/4.67, allocations: 137.7 kB / 1.708 GB, free: 99.11 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/4.67, allocations: 161.6 kB / 1.708 GB, free: 99.03 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004763/4.675, allocations: 1.197 MB / 1.709 GB, free: 98.94 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.108e-05/4.675, allocations: 7.375 kB / 1.709 GB, free: 98.93 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/4.675, allocations: 7.219 kB / 1.709 GB, free: 98.93 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003726/4.679, allocations: 1.115 MB / 1.71 GB, free: 98.57 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002063/4.681, allocations: 1.02 MB / 1.711 GB, free: 98.39 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/4.681, allocations: 0 / 1.711 GB, free: 98.39 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004859/4.681, allocations: 87.09 kB / 1.711 GB, free: 98.39 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003962/4.682, allocations: 187.7 kB / 1.711 GB, free: 98.38 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-05/4.682, allocations: 21.02 kB / 1.711 GB, free: 98.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007573/4.689, allocations: 3.07 MB / 1.714 GB, free: 97.08 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/4.689, allocations: 0 / 1.714 GB, free: 97.08 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00501/4.694, allocations: 1.445 MB / 1.716 GB, free: 96.89 MB / 0.6667 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.006033/4.701, allocations: 2.265 MB / 1.718 GB, free: 96.34 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/4.702, allocations: 306.1 kB / 1.718 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002409/4.702, allocations: 3.828 kB / 1.718 GB, free: 96.16 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000964/4.703, allocations: 83.22 kB / 1.718 GB, free: 96.15 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001181/4.703, allocations: 42.8 kB / 1.719 GB, free: 96.14 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.476e-05/4.703, allocations: 29.78 kB / 1.719 GB, free: 96.14 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.001503/4.705, allocations: 1.063 MB / 1.72 GB, free: 96.04 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.00445/4.709, allocations: 1.052 MB / 1.721 GB, free: 95.92 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (pump.vol.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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/4.71, allocations: 0.7711 MB / 1.721 GB, free: 95.73 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002372/4.713, allocations: 1.358 MB / 1.723 GB, free: 95.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/4.713, allocations: 2.578 kB / 1.723 GB, free: 95.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0008606/4.714, allocations: 457.2 kB / 1.723 GB, free: 95.38 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002426/4.716, allocations: 0.5966 MB / 1.724 GB, free: 95.36 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004119/4.72, allocations: 2.295 MB / 1.726 GB, free: 94.82 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001122/4.721, allocations: 1.665 MB / 1.728 GB, free: 94.1 MB / 0.6667 GB Notification: Performance of SimCode: time 9.02e-07/4.721, allocations: 0 / 1.728 GB, free: 94.1 MB / 0.6667 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_Example3.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.Example3.pipe 2>&1)