Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.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,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside",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.7478/0.7478, allocations: 127.4 MB / 134.6 MB, free: 4.078 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.001535/0.001535, allocations: 185.3 kB / 164.4 MB, free: 6.863 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.814/1.814, allocations: 205.1 MB / 399.1 MB, free: 6.148 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.0009924/0.0009924, allocations: 94.97 kB / 476.3 MB, free: 8.891 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3685/0.3695, allocations: 82.87 MB / 0.5461 GB, free: 42.65 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2065/0.5761, allocations: 76.75 MB / 0.621 GB, free: 13.83 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.369/5.945, allocations: 2.178 GB / 2.799 GB, free: 33.56 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/5.945, allocations: 83.95 kB / 2.799 GB, free: 33.48 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: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 1.737/7.682, allocations: 390.5 MB / 3.18 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.281e-05/7.682, allocations: 9.5 kB / 3.18 GB, free: 122.4 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004582/7.687, allocations: 485.8 kB / 3.181 GB, free: 122.3 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003136/7.69, allocations: 0.777 MB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001172/7.69, allocations: 34.69 kB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005327/7.691, allocations: 65.38 kB / 3.181 GB, free: 121.8 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004233/7.695, allocations: 1.318 MB / 3.183 GB, free: 121.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/7.699, allocations: 1.015 MB / 3.184 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.146e-05/7.699, allocations: 5.531 kB / 3.184 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000226/7.7, allocations: 1.281 kB / 3.184 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/7.7, allocations: 34.95 kB / 3.184 GB, free: 121.1 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009426/7.709, allocations: 3.544 MB / 3.187 GB, free: 119.1 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/7.711, allocations: 0.9521 MB / 3.188 GB, free: 118.7 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/7.712, allocations: 392.8 kB / 3.188 GB, free: 118.6 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001286/7.713, allocations: 0.8424 MB / 3.189 GB, free: 117.7 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001228/7.715, allocations: 0.5489 MB / 3.19 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 1.068e-05/7.715, allocations: 2.844 kB / 3.19 GB, free: 117.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.004745/7.719, allocations: 1.161 MB / 3.191 GB, free: 117.1 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.275e-05/7.719, allocations: 173.2 kB / 3.191 GB, free: 116.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001305/7.721, allocations: 0.5578 MB / 3.192 GB, free: 116.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001656/7.721, allocations: 28.95 kB / 3.192 GB, free: 116.6 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/7.721, allocations: 379.4 kB / 3.192 GB, free: 116.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/7.722, allocations: 318.9 kB / 3.192 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/7.722, allocations: 0 / 3.192 GB, free: 116.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001743/7.722, allocations: 390.3 kB / 3.193 GB, free: 115.8 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006568/7.723, allocations: 311.7 kB / 3.193 GB, free: 115.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008608/7.723, allocations: 432.8 kB / 3.193 GB, free: 115.4 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002577/7.726, allocations: 0.5865 MB / 3.194 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.488e-06/7.726, allocations: 0 / 3.194 GB, free: 115.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004286/7.73, allocations: 1.177 MB / 3.195 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.325e-05/7.73, allocations: 6.422 kB / 3.195 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/7.73, allocations: 2.438 kB / 3.195 GB, free: 114.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007428/7.731, allocations: 83.33 kB / 3.195 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/7.733, allocations: 216.1 kB / 3.195 GB, free: 114.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002248/7.735, allocations: 1.461 MB / 3.197 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001427/7.736, allocations: 97.28 kB / 3.197 GB, free: 113.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/7.736, allocations: 42.39 kB / 3.197 GB, free: 113.4 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart,senMasFra.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 109 * Array equations: 0 * 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 2} Notification: Performance of prepare postOptimizeDAE: time 0.0004143/7.737, allocations: 126.5 kB / 3.197 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/7.737, allocations: 91.59 kB / 3.197 GB, free: 113.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005064/7.742, allocations: 1.48 MB / 3.199 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.103e-05/7.742, allocations: 12.47 kB / 3.199 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/7.742, allocations: 0 / 3.199 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.589e-05/7.743, allocations: 10.36 kB / 3.199 GB, free: 112.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007996/7.751, allocations: 2.523 MB / 3.201 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-05/7.751, allocations: 3.281 kB / 3.201 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001304/7.752, allocations: 200.6 kB / 3.201 GB, free: 111.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000672/7.753, allocations: 86.25 kB / 3.201 GB, free: 111.2 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001374/7.753, allocations: 21.92 kB / 3.201 GB, free: 111.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002222/7.755, allocations: 1.486 MB / 3.203 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/7.755, allocations: 1.969 kB / 3.203 GB, free: 109.8 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004872/7.76, allocations: 1.836 MB / 3.205 GB, free: 108.2 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005121/7.765, allocations: 2.805 MB / 3.207 GB, free: 105.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/7.766, allocations: 337.8 kB / 3.208 GB, free: 105 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003924/7.767, allocations: 8 kB / 3.208 GB, free: 105 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/7.768, allocations: 81.59 kB / 3.208 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001552/7.768, allocations: 61.84 kB / 3.208 GB, free: 104.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001355/7.768, allocations: 43.97 kB / 3.208 GB, free: 104.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0007996/7.769, allocations: 459.1 kB / 3.208 GB, free: 104.4 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003524/7.773, allocations: 0.7153 MB / 3.209 GB, free: 103.7 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (101): * Single equations (assignments): 98 * 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: 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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.004404/7.777, allocations: 1.969 MB / 3.211 GB, free: 102.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002113/7.779, allocations: 0.9551 MB / 3.212 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/7.779, allocations: 0 / 3.212 GB, free: 101.2 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001033/7.78, allocations: 0.5544 MB / 3.212 GB, free: 100.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/7.782, allocations: 293.5 kB / 3.213 GB, free: 100.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00614/7.788, allocations: 1.919 MB / 3.215 GB, free: 98.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001416/7.79, allocations: 1.272 MB / 3.216 GB, free: 97.12 MB / 0.6355 GB Notification: Performance of SimCode: time 1.753e-06/7.79, allocations: 0 / 3.216 GB, free: 97.12 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)