Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.603/1.603, allocations: 289.8 MB / 297.1 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 185.1 kB / 366.3 MB, free: 11.93 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.1 MB / 0.6256 GB, free: 2.059 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009487/0.0009486, allocations: 94.27 kB / 0.7395 GB, free: 46.94 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 0.2729/0.2739, allocations: 122.4 MB / 0.8591 GB, free: 7.102 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/1.013, allocations: 116.3 MB / 0.9726 GB, free: 81.48 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9574/1.97, allocations: 410.4 MB / 1.373 GB, free: 163.6 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002597/1.971, allocations: 91.61 kB / 1.373 GB, free: 163.6 MB / 0.8621 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 10.57/12.54, allocations: 2.745 GB / 4.118 GB, free: 55.25 MB / 1.065 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/12.54, allocations: 12.72 kB / 4.118 GB, free: 55.25 MB / 1.065 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004463/12.55, allocations: 0.7801 MB / 4.119 GB, free: 54.88 MB / 1.065 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1619/12.71, allocations: 59.77 MB / 4.177 GB, free: 51.08 MB / 1.065 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002514/12.71, allocations: 126.7 kB / 4.178 GB, free: 51.08 MB / 1.065 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001265/12.71, allocations: 254.4 kB / 4.178 GB, free: 51.08 MB / 1.065 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006941/12.72, allocations: 2.538 MB / 4.18 GB, free: 51.06 MB / 1.065 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007771/12.73, allocations: 3.626 MB / 4.184 GB, free: 50.27 MB / 1.065 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001069/12.73, allocations: 11.75 kB / 4.184 GB, free: 50.26 MB / 1.065 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004107/12.73, allocations: 10.69 kB / 4.184 GB, free: 50.26 MB / 1.065 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001216/12.73, allocations: 123.2 kB / 4.184 GB, free: 50.25 MB / 1.065 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03459/12.76, allocations: 26.05 MB / 4.209 GB, free: 33.81 MB / 1.065 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/12.76, allocations: 1.094 MB / 4.21 GB, free: 33.78 MB / 1.065 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001579/12.77, allocations: 1.103 MB / 4.212 GB, free: 33.76 MB / 1.065 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002545/12.77, allocations: 3.932 MB / 4.215 GB, free: 29.34 MB / 1.065 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.707e-05/12.77, allocations: 64.91 kB / 4.215 GB, free: 29.3 MB / 1.065 GB Notification: Performance of pre-optimization done (n=225): time 5.2e-06/12.77, allocations: 0 / 4.215 GB, free: 29.3 MB / 1.065 GB Notification: Performance of matching and sorting (n=225): time 0.009367/12.78, allocations: 2.97 MB / 4.218 GB, free: 28.88 MB / 1.065 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/12.78, allocations: 72.44 kB / 4.218 GB, free: 28.81 MB / 1.065 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007445/12.79, allocations: 3.293 MB / 4.222 GB, free: 27.8 MB / 1.065 GB Notification: Performance of collectPreVariables (initialization): time 0.0007878/12.79, allocations: 36.55 kB / 4.222 GB, free: 27.76 MB / 1.065 GB Notification: Performance of collectInitialEqns (initialization): time 0.001788/12.79, allocations: 1.696 MB / 4.223 GB, free: 26.59 MB / 1.065 GB Notification: Performance of collectInitialBindings (initialization): time 0.002059/12.79, allocations: 0.7587 MB / 4.224 GB, free: 25.99 MB / 1.065 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/12.79, allocations: 0.5938 kB / 4.224 GB, free: 25.99 MB / 1.065 GB Notification: Performance of setup shared object (initialization): time 0.0002346/12.79, allocations: 407.2 kB / 4.224 GB, free: 25.64 MB / 1.065 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/12.79, allocations: 0.736 MB / 4.225 GB, free: 25.34 MB / 1.065 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/12.79, allocations: 1.706 MB / 4.227 GB, free: 23.77 MB / 1.065 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004/12.8, allocations: 1.424 MB / 4.228 GB, free: 23.28 MB / 1.065 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/12.8, allocations: 8.375 kB / 4.228 GB, free: 23.28 MB / 1.065 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009648/12.81, allocations: 3.543 MB / 4.232 GB, free: 22 MB / 1.065 GB Notification: Performance of prepare postOptimizeDAE: time 0.002488/12.81, allocations: 10.29 MB / 4.242 GB, free: 11 MB / 1.065 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.575e-05/12.81, allocations: 21.66 kB / 4.242 GB, free: 11 MB / 1.065 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/12.81, allocations: 372.4 kB / 4.242 GB, free: 10.89 MB / 1.065 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/12.81, allocations: 0.5153 MB / 4.243 GB, free: 10.83 MB / 1.065 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00235/12.82, allocations: 2.855 MB / 4.245 GB, free: 8.422 MB / 1.065 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00724/12.82, allocations: 0.4956 MB / 4.246 GB, free: 8.258 MB / 1.065 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007153/12.82, allocations: 133.7 kB / 4.246 GB, free: 8.234 MB / 1.065 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/12.82, allocations: 4.125 kB / 4.246 GB, free: 8.234 MB / 1.065 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0078/12.83, allocations: 2.836 MB / 4.249 GB, free: 7.32 MB / 1.065 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/12.83, allocations: 20.72 kB / 4.249 GB, free: 7.32 MB / 1.065 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/12.83, allocations: 395.3 kB / 4.249 GB, free: 7.215 MB / 1.065 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001888/12.83, allocations: 0.5091 MB / 4.25 GB, free: 7.164 MB / 1.065 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009252/12.84, allocations: 7.312 MB / 4.257 GB, free: 17.05 MB / 1.081 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007432/12.85, allocations: 465.1 kB / 4.257 GB, free: 16.91 MB / 1.081 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009198/12.85, allocations: 125.2 kB / 4.257 GB, free: 16.89 MB / 1.081 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (291): * Single equations (assignments): 287 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 14,1 11,1 14,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.001144/12.85, allocations: 185.3 kB / 4.258 GB, free: 16.73 MB / 1.081 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002137/12.86, allocations: 0.5 MB / 4.258 GB, free: 16.46 MB / 1.081 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0115/12.87, allocations: 4.16 MB / 4.262 GB, free: 14.98 MB / 1.081 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.069e-05/12.87, allocations: 38.52 kB / 4.262 GB, free: 14.97 MB / 1.081 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/12.87, allocations: 4 kB / 4.262 GB, free: 14.97 MB / 1.081 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006493/12.87, allocations: 2.735 MB / 4.265 GB, free: 14 MB / 1.081 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02091/12.89, allocations: 8.168 MB / 4.273 GB, free: 8.012 MB / 1.081 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/12.9, allocations: 1.531 kB / 4.273 GB, free: 8.012 MB / 1.081 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/12.9, allocations: 387.2 kB / 4.273 GB, free: 7.688 MB / 1.081 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006507/12.9, allocations: 227.5 kB / 4.273 GB, free: 7.48 MB / 1.081 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000147/12.9, allocations: 41.84 kB / 4.273 GB, free: 7.449 MB / 1.081 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00217/12.9, allocations: 2.516 MB / 4.276 GB, free: 4.883 MB / 1.081 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/12.9, allocations: 0 / 4.276 GB, free: 4.883 MB / 1.081 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0114/12.91, allocations: 4.844 MB / 4.281 GB, free: 456 kB / 1.081 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01784/12.93, allocations: 7.23 MB / 4.288 GB, free: 10.64 MB / 1.096 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004621/12.93, allocations: 0.9716 MB / 4.289 GB, free: 9.812 MB / 1.096 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002311/12.94, allocations: 8 kB / 4.289 GB, free: 9.805 MB / 1.096 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005568/12.94, allocations: 405.6 kB / 4.289 GB, free: 9.52 MB / 1.096 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003115/12.94, allocations: 137.3 kB / 4.289 GB, free: 9.441 MB / 1.096 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004266/12.94, allocations: 114.4 kB / 4.289 GB, free: 9.352 MB / 1.096 GB Notification: Performance of sort global known variables: time 0.006947/12.95, allocations: 2.436 MB / 4.292 GB, free: 7.172 MB / 1.096 GB Notification: Performance of remove unused functions: time 0.02236/12.97, allocations: 4.776 MB / 4.296 GB, free: 2.441 MB / 1.096 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (227): * Single equations (assignments): 189 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.786/13.76, allocations: 3.449 MB / 4.3 GB, free: 176.2 MB / 1.096 GB Notification: Performance of simCode: created initialization part: time 0.008421/13.77, allocations: 4.244 MB / 4.304 GB, free: 175.7 MB / 1.096 GB Notification: Performance of simCode: created event and clocks part: time 1.259e-05/13.77, allocations: 3.938 kB / 4.304 GB, free: 175.7 MB / 1.096 GB Notification: Performance of simCode: created simulation system equations: time 0.002114/13.77, allocations: 1.255 MB / 4.305 GB, free: 175.7 MB / 1.096 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01493/13.78, allocations: 2.532 MB / 4.308 GB, free: 175.7 MB / 1.096 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/13.8, allocations: 7.312 MB / 4.315 GB, free: 173.9 MB / 1.096 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003739/13.8, allocations: 3.472 MB / 4.318 GB, free: 173 MB / 1.096 GB Notification: Performance of SimCode: time 1.874e-06/13.8, allocations: 0 / 4.318 GB, free: 173 MB / 1.096 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)