Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",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.9082/0.9082, allocations: 127.4 MB / 134.6 MB, free: 4.082 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.001229/0.001228, allocations: 193.2 kB / 164.4 MB, free: 6.879 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.767/1.767, allocations: 205.1 MB / 399.1 MB, free: 6.094 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.001122/0.001122, allocations: 95.31 kB / 476.3 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.349/0.3502, allocations: 82.88 MB / 0.5461 GB, free: 42.66 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.5428, allocations: 76.74 MB / 0.621 GB, free: 13.84 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.527/6.07, allocations: 2.166 GB / 2.787 GB, free: 16.15 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/6.071, allocations: 87.95 kB / 2.787 GB, free: 16.07 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: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 1.479/7.55, allocations: 293.1 MB / 3.073 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.039e-05/7.55, allocations: 11.5 kB / 3.073 GB, free: 139.2 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00479/7.555, allocations: 0.5607 MB / 3.074 GB, free: 139.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002991/7.558, allocations: 0.8773 MB / 3.075 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.433e-05/7.558, allocations: 53.84 kB / 3.075 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002366/7.558, allocations: 91.09 kB / 3.075 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003217/7.561, allocations: 1.571 MB / 3.076 GB, free: 138.9 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/7.564, allocations: 1.403 MB / 3.078 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.69e-05/7.564, allocations: 3.188 kB / 3.078 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001493/7.564, allocations: 3.906 kB / 3.078 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.06e-05/7.564, allocations: 41.19 kB / 3.078 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008148/7.573, allocations: 4.677 MB / 3.082 GB, free: 137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001673/7.574, allocations: 1.128 MB / 3.083 GB, free: 137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007859/7.575, allocations: 0.5296 MB / 3.084 GB, free: 137 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009325/7.576, allocations: 0.8684 MB / 3.085 GB, free: 136 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001096/7.577, allocations: 0.7277 MB / 3.085 GB, free: 135.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=129): time 4.027e-06/7.577, allocations: 0 / 3.085 GB, free: 135.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129): time 0.003373/7.581, allocations: 1.264 MB / 3.087 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/7.581, allocations: 170.8 kB / 3.087 GB, free: 135.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007874/7.581, allocations: 0.5793 MB / 3.087 GB, free: 135.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001148/7.582, allocations: 32.05 kB / 3.087 GB, free: 135.4 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/7.582, allocations: 0.489 MB / 3.088 GB, free: 135.2 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003792/7.582, allocations: 408 kB / 3.088 GB, free: 135 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.108e-05/7.582, allocations: 0 / 3.088 GB, free: 135 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001505/7.583, allocations: 403.4 kB / 3.089 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000542/7.583, allocations: 365.1 kB / 3.089 GB, free: 134.7 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006173/7.584, allocations: 493.3 kB / 3.089 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001155/7.585, allocations: 0.512 MB / 3.09 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/7.585, allocations: 0 / 3.09 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002942/7.588, allocations: 1.283 MB / 3.091 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/7.588, allocations: 3.906 kB / 3.091 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/7.588, allocations: 0 / 3.091 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009619/7.589, allocations: 192.3 kB / 3.091 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00132/7.59, allocations: 250.2 kB / 3.092 GB, free: 134.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004666/7.595, allocations: 6.492 MB / 3.098 GB, free: 128.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/7.596, allocations: 117.4 kB / 3.098 GB, free: 128.3 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/7.596, allocations: 49.19 kB / 3.098 GB, free: 128.3 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (127): * Single equations (assignments): 122 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003332/7.597, allocations: 127.1 kB / 3.098 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/7.597, allocations: 105.8 kB / 3.098 GB, free: 128.2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/7.601, allocations: 1.609 MB / 3.1 GB, free: 128 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/7.601, allocations: 15.12 kB / 3.1 GB, free: 128 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/7.601, allocations: 3.281 kB / 3.1 GB, free: 128 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.32e-05/7.601, allocations: 13.33 kB / 3.1 GB, free: 128 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/7.603, allocations: 1.204 MB / 3.101 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/7.603, allocations: 0 / 3.101 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00125/7.604, allocations: 239.4 kB / 3.101 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000866/7.605, allocations: 199.4 kB / 3.102 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.646e-05/7.605, allocations: 19.34 kB / 3.102 GB, free: 127.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00483/7.61, allocations: 6.521 MB / 3.108 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/7.61, allocations: 3.5 kB / 3.108 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003563/7.614, allocations: 1.375 MB / 3.109 GB, free: 121.6 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003324/7.617, allocations: 1.818 MB / 3.111 GB, free: 121 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000923/7.618, allocations: 403.5 kB / 3.111 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001874/7.618, allocations: 10.47 kB / 3.111 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001282/7.619, allocations: 102.4 kB / 3.112 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/7.619, allocations: 74.34 kB / 3.112 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/7.62, allocations: 63.84 kB / 3.112 GB, free: 120.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.000657/7.62, allocations: 465.7 kB / 3.112 GB, free: 120.7 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003091/7.623, allocations: 0.7365 MB / 3.113 GB, free: 120.6 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 121 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.002537/7.626, allocations: 1.635 MB / 3.114 GB, free: 120.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002293/7.628, allocations: 1.515 MB / 3.116 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/7.628, allocations: 0.6562 kB / 3.116 GB, free: 119.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0013/7.63, allocations: 1.095 MB / 3.117 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/7.631, allocations: 334.6 kB / 3.117 GB, free: 119.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/7.637, allocations: 2.093 MB / 3.119 GB, free: 118.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/7.638, allocations: 1.428 MB / 3.121 GB, free: 118 MB / 0.6355 GB Notification: Performance of SimCode: time 7.72e-07/7.638, allocations: 0 / 3.121 GB, free: 118 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)