Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.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.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse",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.7157/0.7157, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001293/0.001293, allocations: 181.3 kB / 164.4 MB, free: 6.906 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.789/1.789, allocations: 205.1 MB / 399.1 MB, free: 6.168 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.001462/0.001462, allocations: 95.31 kB / 476.3 MB, free: 8.922 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3969/0.3984, allocations: 82.89 MB / 0.5461 GB, free: 42.7 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.6188, allocations: 76.74 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.3/5.919, allocations: 2.181 GB / 2.802 GB, free: 28.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/5.919, allocations: 91.94 kB / 2.802 GB, free: 28.32 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 494 * Number of variables: 494 Notification: Performance of Generate backend data structure: time 2.54/8.46, allocations: 0.5581 GB / 3.36 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.82e-05/8.46, allocations: 10.5 kB / 3.36 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004914/8.465, allocations: 0.5873 MB / 3.36 GB, free: 98.52 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004635/8.47, allocations: 1.341 MB / 3.362 GB, free: 98.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/8.47, allocations: 63.53 kB / 3.362 GB, free: 98.23 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007834/8.471, allocations: 114.8 kB / 3.362 GB, free: 98.22 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005479/8.476, allocations: 2.618 MB / 3.364 GB, free: 98.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/8.48, allocations: 1.969 MB / 3.366 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.595e-05/8.48, allocations: 0 / 3.366 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000211/8.48, allocations: 2.938 kB / 3.366 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.25e-05/8.48, allocations: 82.7 kB / 3.366 GB, free: 98.07 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01444/8.495, allocations: 6.809 MB / 3.373 GB, free: 96.07 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/8.499, allocations: 2.133 MB / 3.375 GB, free: 96.02 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/8.5, allocations: 1.057 MB / 3.376 GB, free: 95.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001735/8.502, allocations: 1.472 MB / 3.378 GB, free: 94.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001974/8.504, allocations: 1.192 MB / 3.379 GB, free: 94.35 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=206): time 4.549e-06/8.504, allocations: 0 / 3.379 GB, free: 94.35 MB / 0.6511 GB Notification: Performance of matching and sorting (n=206): time 0.005687/8.51, allocations: 2.256 MB / 3.381 GB, free: 94.18 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/8.51, allocations: 312.9 kB / 3.381 GB, free: 93.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/8.511, allocations: 0.84 MB / 3.382 GB, free: 93.69 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002947/8.512, allocations: 31.73 kB / 3.382 GB, free: 93.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005312/8.512, allocations: 0.5454 MB / 3.383 GB, free: 93.36 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006692/8.513, allocations: 0.6544 MB / 3.383 GB, free: 92.91 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.744e-05/8.513, allocations: 0 / 3.383 GB, free: 92.91 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001158/8.513, allocations: 374.6 kB / 3.384 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/8.514, allocations: 0.7576 MB / 3.384 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001309/8.516, allocations: 0.9833 MB / 3.385 GB, free: 92.43 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002658/8.518, allocations: 1.146 MB / 3.386 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/8.518, allocations: 0 / 3.386 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005415/8.524, allocations: 2.314 MB / 3.389 GB, free: 92.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/8.524, allocations: 6.844 kB / 3.389 GB, free: 92.25 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/8.524, allocations: 3 kB / 3.389 GB, free: 92.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006834/8.524, allocations: 92.72 kB / 3.389 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002021/8.526, allocations: 392.2 kB / 3.389 GB, free: 92.24 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/8.529, allocations: 1.453 MB / 3.391 GB, free: 91.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003262/8.532, allocations: 169.9 kB / 3.391 GB, free: 90.95 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005009/8.533, allocations: 71.8 kB / 3.391 GB, free: 90.95 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (224): * Single equations (assignments): 223 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001133/8.534, allocations: 136.9 kB / 3.391 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008214/8.535, allocations: 165.5 kB / 3.391 GB, free: 90.75 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007839/8.542, allocations: 2.646 MB / 3.394 GB, free: 90.62 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-05/8.543, allocations: 24.66 kB / 3.394 GB, free: 90.62 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/8.543, allocations: 3.875 kB / 3.394 GB, free: 90.62 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005851/8.549, allocations: 2.436 MB / 3.396 GB, free: 90.12 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01363/8.562, allocations: 5.265 MB / 3.401 GB, free: 89.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.669e-05/8.562, allocations: 11.06 kB / 3.401 GB, free: 89.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002245/8.565, allocations: 378.1 kB / 3.402 GB, free: 89.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008583/8.565, allocations: 132.7 kB / 3.402 GB, free: 89.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002924/8.566, allocations: 30.81 kB / 3.402 GB, free: 89.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004138/8.57, allocations: 2.873 MB / 3.405 GB, free: 86.97 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.379e-05/8.57, allocations: 12 kB / 3.405 GB, free: 86.97 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009932/8.58, allocations: 4.103 MB / 3.409 GB, free: 86.21 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01598/8.596, allocations: 8.482 MB / 3.417 GB, free: 85.04 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002108/8.598, allocations: 0.5392 MB / 3.417 GB, free: 84.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007223/8.599, allocations: 14.44 kB / 3.417 GB, free: 84.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003521/8.603, allocations: 114.8 kB / 3.417 GB, free: 84.84 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005905/8.603, allocations: 124.7 kB / 3.418 GB, free: 84.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004158/8.604, allocations: 70.42 kB / 3.418 GB, free: 84.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.00248/8.606, allocations: 0.6526 MB / 3.418 GB, free: 84.72 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.008945/8.615, allocations: 1.045 MB / 3.419 GB, free: 84.59 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (simpleZone.volRoom.dynBal.U,simpleZone.volRoom.dynBal.m,simpleZone.volRoom.dynBal.mXi[1],simpleZone.door.mExcAB,simpleZone.door.mExcBA) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 207 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006281/8.621, allocations: 2.255 MB / 3.422 GB, free: 84.02 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00851/8.63, allocations: 2.039 MB / 3.424 GB, free: 83.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.516e-05/8.63, allocations: 0 / 3.424 GB, free: 83.89 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003678/8.634, allocations: 1.292 MB / 3.425 GB, free: 83.68 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004433/8.638, allocations: 0.5209 MB / 3.425 GB, free: 83.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01065/8.649, allocations: 3.628 MB / 3.429 GB, free: 82.86 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002215/8.651, allocations: 1.759 MB / 3.431 GB, free: 82.12 MB / 0.6511 GB Notification: Performance of SimCode: time 9.82e-07/8.651, allocations: 3.375 kB / 3.431 GB, free: 82.12 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse_fmu --startTime=0 --stopTime=6e+06 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Experimental_Benchmarks_AirFlow_Examples_ZoneStepResponse.fmu > BuildSysPro_BuildSysPro.IBPSA.Experimental.Benchmarks.AirFlow.Examples.ZoneStepResponse.pipe 2>&1)