Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") translateModel(BuildingSystems.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.8644/0.8644, allocations: 141.8 MB / 149.1 MB, free: 468 kB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 189.2 kB / 182 MB, free: 1.266 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 221.3 MB / 436 MB, free: 1.848 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, allocations: 99.62 kB / 0.507 GB, free: 15.72 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001785/0.001785, allocations: 269.9 kB / 0.5884 GB, free: 12.29 MB / 490.9 MB Notification: Performance of FrontEnd - loaded program: time 8.316e-06/8.336e-06, allocations: 4 kB / 0.6759 GB, free: 136.4 MB / 0.495 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1727, allocations: 82.78 MB / 0.7567 GB, free: 53.92 MB / 0.495 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.874/4.047, allocations: 1.867 GB / 2.624 GB, free: 76.16 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001922/4.047, allocations: 87.45 kB / 2.624 GB, free: 76.11 MB / 0.7138 GB Notification: Performance of FrontEnd: time 1.6/5.647, allocations: 399.8 MB / 3.014 GB, free: 139.4 MB / 0.7138 GB Notification: Performance of Transformations before backend: time 0.0001997/5.648, allocations: 33.91 kB / 3.014 GB, free: 139.4 MB / 0.7138 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 283 * Number of variables: 283 Notification: Performance of Generate backend data structure: time 0.005364/5.653, allocations: 1.561 MB / 3.016 GB, free: 138.6 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/5.653, allocations: 8.719 kB / 3.016 GB, free: 138.6 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002934/5.656, allocations: 365.5 kB / 3.016 GB, free: 138.6 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/5.659, allocations: 1.123 MB / 3.017 GB, free: 138.3 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.494e-05/5.659, allocations: 36.91 kB / 3.017 GB, free: 138.3 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002259/5.659, allocations: 73.59 kB / 3.017 GB, free: 138.3 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002144/5.662, allocations: 1.293 MB / 3.018 GB, free: 138.3 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001757/5.663, allocations: 1.039 MB / 3.019 GB, free: 138.1 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/5.663, allocations: 4.406 kB / 3.019 GB, free: 138.1 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.941e-05/5.664, allocations: 3.594 kB / 3.019 GB, free: 138.1 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/5.664, allocations: 28.62 kB / 3.02 GB, free: 138.1 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005869/5.669, allocations: 3.537 MB / 3.023 GB, free: 137.1 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/5.671, allocations: 0.9452 MB / 3.024 GB, free: 137 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005084/5.671, allocations: 395.1 kB / 3.024 GB, free: 137 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008242/5.672, allocations: 0.5051 MB / 3.025 GB, free: 136.5 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008683/5.673, allocations: 0.5386 MB / 3.025 GB, free: 136.5 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=97): time 3.827e-06/5.673, allocations: 0 / 3.025 GB, free: 136.5 MB / 0.7138 GB Notification: Performance of matching and sorting (n=97): time 0.00351/5.677, allocations: 1.121 MB / 3.026 GB, free: 136.4 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/5.677, allocations: 246.7 kB / 3.027 GB, free: 136.1 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/5.678, allocations: 0.6069 MB / 3.027 GB, free: 135.9 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 9.018e-05/5.678, allocations: 28.27 kB / 3.027 GB, free: 135.9 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/5.678, allocations: 397.5 kB / 3.028 GB, free: 135.7 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003518/5.679, allocations: 316.1 kB / 3.028 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.616e-05/5.679, allocations: 0 / 3.028 GB, free: 135.6 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 0.0001347/5.679, allocations: 339.6 kB / 3.028 GB, free: 135.3 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005155/5.679, allocations: 307.1 kB / 3.029 GB, free: 135.3 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006813/5.68, allocations: 460.8 kB / 3.029 GB, free: 135.1 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/5.681, allocations: 0.5137 MB / 3.029 GB, free: 135.1 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/5.681, allocations: 0 / 3.029 GB, free: 135.1 MB / 0.7138 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002871/5.684, allocations: 1.096 MB / 3.031 GB, free: 135 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/5.684, allocations: 7.156 kB / 3.031 GB, free: 135 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/5.684, allocations: 2.188 kB / 3.031 GB, free: 135 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006586/5.685, allocations: 88.61 kB / 3.031 GB, free: 135 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009918/5.686, allocations: 212.2 kB / 3.031 GB, free: 135 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001928/5.688, allocations: 1.461 MB / 3.032 GB, free: 133.8 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/5.689, allocations: 92.69 kB / 3.032 GB, free: 133.8 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/5.689, allocations: 39 kB / 3.032 GB, free: 133.8 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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.0002649/5.69, allocations: 124 kB / 3.033 GB, free: 133.7 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003137/5.69, allocations: 97.25 kB / 3.033 GB, free: 133.6 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00364/5.693, allocations: 1.452 MB / 3.034 GB, free: 133.5 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/5.694, allocations: 14.16 kB / 3.034 GB, free: 133.5 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/5.694, allocations: 3.812 kB / 3.034 GB, free: 133.5 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/5.694, allocations: 3.188 kB / 3.034 GB, free: 133.5 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006246/5.7, allocations: 2.55 MB / 3.037 GB, free: 133 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.648e-06/5.7, allocations: 0 / 3.037 GB, free: 133 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/5.701, allocations: 201.4 kB / 3.037 GB, free: 133 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005993/5.702, allocations: 88.17 kB / 3.037 GB, free: 133 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.532e-05/5.702, allocations: 19.12 kB / 3.037 GB, free: 133 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001719/5.703, allocations: 1.487 MB / 3.038 GB, free: 131.8 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/5.703, allocations: 3.531 kB / 3.038 GB, free: 131.8 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003648/5.707, allocations: 1.823 MB / 3.04 GB, free: 131.4 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009808/5.708, allocations: 340.4 kB / 3.04 GB, free: 131.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004032/5.709, allocations: 7.656 kB / 3.04 GB, free: 131.3 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001253/5.71, allocations: 77.12 kB / 3.04 GB, free: 131.3 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001813/5.71, allocations: 73.39 kB / 3.041 GB, free: 131.2 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/5.71, allocations: 40.09 kB / 3.041 GB, free: 131.2 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0009289/5.711, allocations: 0.4929 MB / 3.041 GB, free: 131.2 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.002443/5.714, allocations: 0.5331 MB / 3.042 GB, free: 131.1 MB / 0.7138 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.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.003856/5.717, allocations: 1.985 MB / 3.044 GB, free: 130.6 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.002071/5.72, allocations: 0.9197 MB / 3.044 GB, free: 130.5 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/5.72, allocations: 3.594 kB / 3.044 GB, free: 130.5 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.001061/5.721, allocations: 0.5754 MB / 3.045 GB, free: 130.4 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/5.723, allocations: 334.4 kB / 3.045 GB, free: 130.3 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006853/5.73, allocations: 1.952 MB / 3.047 GB, free: 129.9 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001701/5.732, allocations: 1.302 MB / 3.048 GB, free: 129.2 MB / 0.7138 GB Notification: Performance of SimCode: time 3.406e-06/5.732, allocations: 0 / 3.048 GB, free: 129.2 MB / 0.7138 GB Notification: Performance of Templates: time 0.06175/5.793, allocations: 28.33 MB / 3.076 GB, free: 127.8 MB / 0.7138 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.sim & ./BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside.pipe 2>&1)