Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.7382/0.7382, allocations: 141.8 MB / 149.1 MB, free: 1.617 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.001103/0.001103, allocations: 169.3 kB / 181.9 MB, free: 1.062 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.325/1.325, allocations: 221.3 MB / 436 MB, free: 5.781 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.001013/0.001013, allocations: 96.61 kB / 0.507 GB, free: 2.465 MB / 410.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001719, allocations: 279.6 kB / 0.5885 GB, free: 47.51 MB / 410.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3491/0.3509, allocations: 89.62 MB / 0.676 GB, free: 59.65 MB / 442.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1521/0.503, allocations: 82.78 MB / 0.7568 GB, free: 0.8828 MB / 442.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.274/3.777, allocations: 1.834 GB / 2.59 GB, free: 246.5 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/3.777, allocations: 89.91 kB / 2.591 GB, free: 246.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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 2.849/6.626, allocations: 1.021 GB / 3.612 GB, free: 34.41 MB / 0.7138 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/6.626, allocations: 13 kB / 3.612 GB, free: 34.39 MB / 0.7138 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004468/6.631, allocations: 0.7746 MB / 3.612 GB, free: 33.62 MB / 0.7138 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003622/6.634, allocations: 1.075 MB / 3.613 GB, free: 32.48 MB / 0.7138 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/6.634, allocations: 31.91 kB / 3.614 GB, free: 32.45 MB / 0.7138 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002994/6.635, allocations: 55.98 kB / 3.614 GB, free: 32.4 MB / 0.7138 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001599/6.636, allocations: 0.8902 MB / 3.614 GB, free: 31.51 MB / 0.7138 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001743/6.638, allocations: 1.157 MB / 3.616 GB, free: 30.29 MB / 0.7138 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/6.638, allocations: 3.938 kB / 3.616 GB, free: 30.29 MB / 0.7138 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/6.638, allocations: 4 kB / 3.616 GB, free: 30.29 MB / 0.7138 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/6.638, allocations: 45.97 kB / 3.616 GB, free: 30.24 MB / 0.7138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007458/6.646, allocations: 5.153 MB / 3.621 GB, free: 24.85 MB / 0.7138 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/6.647, allocations: 0.8911 MB / 3.622 GB, free: 23.96 MB / 0.7138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006351/6.648, allocations: 0.4935 MB / 3.622 GB, free: 23.46 MB / 0.7138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001149/6.649, allocations: 0.9449 MB / 3.623 GB, free: 22.34 MB / 0.7138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007503/6.65, allocations: 0.5964 MB / 3.624 GB, free: 21.72 MB / 0.7138 GB Notification: Performance of pre-optimization done (n=82): time 3.527e-06/6.65, allocations: 0 / 3.624 GB, free: 21.72 MB / 0.7138 GB Notification: Performance of matching and sorting (n=82): time 0.002589/6.652, allocations: 1.154 MB / 3.625 GB, free: 20.56 MB / 0.7138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/6.652, allocations: 60.06 kB / 3.625 GB, free: 20.49 MB / 0.7138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009276/6.653, allocations: 0.8557 MB / 3.626 GB, free: 19.62 MB / 0.7138 GB Notification: Performance of collectPreVariables (initialization): time 9.54e-05/6.653, allocations: 33.58 kB / 3.626 GB, free: 19.58 MB / 0.7138 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002139/6.654, allocations: 411.8 kB / 3.626 GB, free: 19.17 MB / 0.7138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001954/6.654, allocations: 272 kB / 3.626 GB, free: 18.9 MB / 0.7138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/6.654, allocations: 0 / 3.626 GB, free: 18.9 MB / 0.7138 GB Notification: Performance of setup shared object (initialization): time 7.825e-05/6.654, allocations: 349.9 kB / 3.627 GB, free: 18.55 MB / 0.7138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005566/6.654, allocations: 421.8 kB / 3.627 GB, free: 18.14 MB / 0.7138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007071/6.655, allocations: 0.7249 MB / 3.628 GB, free: 17.27 MB / 0.7138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006694/6.656, allocations: 486.4 kB / 3.628 GB, free: 16.8 MB / 0.7138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/6.656, allocations: 0 / 3.628 GB, free: 16.8 MB / 0.7138 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001726/6.658, allocations: 1.192 MB / 3.629 GB, free: 15.6 MB / 0.7138 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/6.658, allocations: 8 kB / 3.629 GB, free: 15.59 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/6.658, allocations: 4 kB / 3.629 GB, free: 15.59 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/6.658, allocations: 16 kB / 3.629 GB, free: 15.57 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001596/6.659, allocations: 327.8 kB / 3.63 GB, free: 15.25 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/6.659, allocations: 15.94 kB / 3.63 GB, free: 15.24 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001466/6.661, allocations: 203 kB / 3.63 GB, free: 15.04 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/6.661, allocations: 63.95 kB / 3.63 GB, free: 14.98 MB / 0.7138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 117 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002056/6.661, allocations: 130.7 kB / 3.63 GB, free: 14.84 MB / 0.7138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/6.661, allocations: 122.5 kB / 3.63 GB, free: 14.72 MB / 0.7138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/6.663, allocations: 1.213 MB / 3.631 GB, free: 13.5 MB / 0.7138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.156e-06/6.663, allocations: 12 kB / 3.631 GB, free: 13.49 MB / 0.7138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.932e-06/6.663, allocations: 3.906 kB / 3.631 GB, free: 13.48 MB / 0.7138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/6.663, allocations: 3.984 kB / 3.631 GB, free: 13.48 MB / 0.7138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/6.667, allocations: 2.637 MB / 3.634 GB, free: 10.76 MB / 0.7138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/6.667, allocations: 4 kB / 3.634 GB, free: 10.75 MB / 0.7138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001436/6.669, allocations: 268.1 kB / 3.634 GB, free: 10.49 MB / 0.7138 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/6.669, allocations: 8 kB / 3.634 GB, free: 10.48 MB / 0.7138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.592e-05/6.669, allocations: 27.95 kB / 3.634 GB, free: 10.46 MB / 0.7138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/6.669, allocations: 8 kB / 3.634 GB, free: 10.45 MB / 0.7138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/6.669, allocations: 7.938 kB / 3.634 GB, free: 10.44 MB / 0.7138 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002392/6.671, allocations: 2.163 MB / 3.636 GB, free: 8.125 MB / 0.7138 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003388/6.674, allocations: 3.325 MB / 3.64 GB, free: 4.652 MB / 0.7138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000526/6.675, allocations: 331.2 kB / 3.64 GB, free: 4.309 MB / 0.7138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002205/6.675, allocations: 12 kB / 3.64 GB, free: 4.297 MB / 0.7138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/6.677, allocations: 135.8 kB / 3.64 GB, free: 4.164 MB / 0.7138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/6.677, allocations: 64.42 kB / 3.64 GB, free: 4.102 MB / 0.7138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.597e-05/6.677, allocations: 39.97 kB / 3.64 GB, free: 4.062 MB / 0.7138 GB Notification: Performance of sort global known variables: time 0.0006638/6.677, allocations: 0.6485 MB / 3.641 GB, free: 3.406 MB / 0.7138 GB Notification: Performance of remove unused functions: time 0.003051/6.68, allocations: 0.6634 MB / 3.641 GB, free: 2.742 MB / 0.7138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003657/6.684, allocations: 2.133 MB / 3.644 GB, free: 0.6211 MB / 0.7138 GB Notification: Performance of simCode: created initialization part: time 0.2616/6.946, allocations: 1.039 MB / 3.645 GB, free: 171.8 MB / 0.7138 GB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/6.946, allocations: 0 / 3.645 GB, free: 171.8 MB / 0.7138 GB Notification: Performance of simCode: created simulation system equations: time 0.0008254/6.947, allocations: 0.5364 MB / 3.645 GB, free: 171.8 MB / 0.7138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/6.949, allocations: 419.8 kB / 3.645 GB, free: 171.8 MB / 0.7138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/6.953, allocations: 2.071 MB / 3.647 GB, free: 171.3 MB / 0.7138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001143/6.954, allocations: 1.382 MB / 3.649 GB, free: 170.6 MB / 0.7138 GB Notification: Performance of SimCode: time 9.62e-07/6.954, allocations: 0 / 3.649 GB, free: 170.6 MB / 0.7138 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)