Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.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: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7159/0.7159, allocations: 141.8 MB / 149.1 MB, free: 4.496 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 186.4 kB / 181.9 MB, free: 164 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 221.3 MB / 436 MB, free: 9.34 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000995/0.000995, allocations: 100.4 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001748/0.001748, allocations: 280.7 kB / 0.5884 GB, free: 12.3 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.1716/0.1733, allocations: 89.64 MB / 0.676 GB, free: 2.586 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3805/0.5539, allocations: 82.76 MB / 0.7568 GB, free: 112.8 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.155/3.708, allocations: 1.897 GB / 2.654 GB, free: 181.3 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/3.709, allocations: 87.94 kB / 2.654 GB, free: 181.2 MB / 0.6982 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.8824/4.591, allocations: 320.7 MB / 2.967 GB, free: 135.2 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/4.591, allocations: 15.94 kB / 2.967 GB, free: 135.2 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003597/4.595, allocations: 0.5244 MB / 2.968 GB, free: 134.7 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001778/4.597, allocations: 0.9893 MB / 2.968 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-05/4.597, allocations: 55.94 kB / 2.969 GB, free: 133.6 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/4.597, allocations: 96 kB / 2.969 GB, free: 133.5 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00252/4.599, allocations: 1.669 MB / 2.97 GB, free: 131.8 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002211/4.602, allocations: 1.473 MB / 2.972 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/4.602, allocations: 8 kB / 2.972 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/4.602, allocations: 0 / 2.972 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.82e-05/4.602, allocations: 43.98 kB / 2.972 GB, free: 130.3 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007168/4.609, allocations: 4.64 MB / 2.976 GB, free: 125.5 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001649/4.611, allocations: 1.492 MB / 2.978 GB, free: 123.9 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006813/4.611, allocations: 0.5625 MB / 2.978 GB, free: 123.4 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009106/4.612, allocations: 1.133 MB / 2.979 GB, free: 122 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/4.613, allocations: 0.7333 MB / 2.98 GB, free: 121.2 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=137): time 3.526e-06/4.613, allocations: 0 / 2.98 GB, free: 121.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=137): time 0.003514/4.617, allocations: 1.316 MB / 2.981 GB, free: 119.9 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.493e-05/4.617, allocations: 252.6 kB / 2.982 GB, free: 119.6 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/4.618, allocations: 0.6142 MB / 2.982 GB, free: 119 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 0.0001383/4.618, allocations: 29.7 kB / 2.982 GB, free: 118.9 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003131/4.618, allocations: 0.5075 MB / 2.983 GB, free: 118.4 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002528/4.619, allocations: 437.4 kB / 2.983 GB, free: 118 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/4.619, allocations: 0 / 2.983 GB, free: 118 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 6.833e-05/4.619, allocations: 357.8 kB / 2.984 GB, free: 117.6 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000506/4.619, allocations: 382.5 kB / 2.984 GB, free: 117.3 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005921/4.62, allocations: 0.5192 MB / 2.984 GB, free: 116.7 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007801/4.621, allocations: 481.5 kB / 2.985 GB, free: 116.2 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/4.621, allocations: 4 kB / 2.985 GB, free: 116.2 MB / 0.6982 GB Notification: Performance of matching and sorting (n=145) (initialization): time 0.002523/4.623, allocations: 1.253 MB / 2.986 GB, free: 115 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/4.623, allocations: 11.12 kB / 2.986 GB, free: 115 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/4.623, allocations: 0 / 2.986 GB, free: 115 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009133/4.624, allocations: 192.2 kB / 2.986 GB, free: 114.8 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/4.626, allocations: 303.6 kB / 2.987 GB, free: 114.5 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004093/4.63, allocations: 6.471 MB / 2.993 GB, free: 107.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001423/4.631, allocations: 119.1 kB / 2.993 GB, free: 107.3 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001232/4.631, allocations: 43.97 kB / 2.993 GB, free: 107.2 MB / 0.6982 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.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 (135): * Single equations (assignments): 130 * 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.000369/4.632, allocations: 129.7 kB / 2.993 GB, free: 107.1 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002499/4.632, allocations: 118.7 kB / 2.993 GB, free: 107 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00349/4.635, allocations: 1.6 MB / 2.995 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/4.635, allocations: 16 kB / 2.995 GB, free: 105.4 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/4.636, allocations: 4 kB / 2.995 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.47e-05/4.636, allocations: 11.88 kB / 2.995 GB, free: 105.3 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004916/4.64, allocations: 2.943 MB / 2.998 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/4.64, allocations: 4 kB / 2.998 GB, free: 102.4 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001446/4.642, allocations: 307.6 kB / 2.998 GB, free: 102.1 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007904/4.643, allocations: 196.1 kB / 2.998 GB, free: 101.9 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.509e-05/4.643, allocations: 19.97 kB / 2.998 GB, free: 101.8 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003855/4.647, allocations: 6.486 MB / 3.005 GB, free: 94.78 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/4.647, allocations: 0 / 3.005 GB, free: 94.78 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002817/4.65, allocations: 1.438 MB / 3.006 GB, free: 93.3 MB / 0.6982 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002714/4.652, allocations: 1.9 MB / 3.008 GB, free: 91.38 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007134/4.653, allocations: 395.1 kB / 3.008 GB, free: 90.97 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/4.653, allocations: 4 kB / 3.008 GB, free: 90.96 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/4.654, allocations: 103.8 kB / 3.008 GB, free: 90.86 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/4.655, allocations: 85.19 kB / 3.008 GB, free: 90.78 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001369/4.655, allocations: 67.94 kB / 3.008 GB, free: 90.71 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.000572/4.655, allocations: 495.1 kB / 3.009 GB, free: 90.23 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.002714/4.658, allocations: 0.7794 MB / 3.01 GB, free: 89.46 MB / 0.6982 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.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 (140): * Single equations (assignments): 133 * 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.002328/4.66, allocations: 1.691 MB / 3.011 GB, free: 88.04 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.002235/4.663, allocations: 1.565 MB / 3.013 GB, free: 86.42 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/4.663, allocations: 8.594 kB / 3.013 GB, free: 86.41 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/4.664, allocations: 1.134 MB / 3.014 GB, free: 85.23 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001894/4.666, allocations: 380.6 kB / 3.014 GB, free: 84.87 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005081/4.671, allocations: 2.193 MB / 3.016 GB, free: 82.64 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/4.672, allocations: 1.471 MB / 3.018 GB, free: 81.14 MB / 0.6982 GB Notification: Performance of SimCode: time 5.81e-07/4.672, allocations: 0 / 3.018 GB, free: 81.14 MB / 0.6982 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)