Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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) 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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.149/2.149, allocations: 387.2 MB / 394.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 185.3 kB / 487 MB, free: 5.328 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009884/0.0009884, allocations: 101.5 kB / 0.9213 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6574/0.6584, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.9609, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.029/1.99, allocations: 421.1 MB / 1.616 GB, free: 2.113 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/1.99, allocations: 91.98 kB / 1.617 GB, free: 2.07 MB / 1.042 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 9.639/11.63, allocations: 2.808 GB / 4.425 GB, free: 9.422 MB / 1.26 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/11.63, allocations: 9 kB / 4.425 GB, free: 9.414 MB / 1.26 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004714/11.63, allocations: 0.7803 MB / 4.426 GB, free: 8.625 MB / 1.26 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7879/12.42, allocations: 60.91 MB / 4.485 GB, free: 156.4 MB / 1.276 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/12.42, allocations: 135.7 kB / 4.485 GB, free: 156.4 MB / 1.276 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009621/12.42, allocations: 254.5 kB / 4.486 GB, free: 156.4 MB / 1.276 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006045/12.43, allocations: 2.536 MB / 4.488 GB, free: 156.4 MB / 1.276 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006183/12.44, allocations: 3.627 MB / 4.492 GB, free: 155.7 MB / 1.276 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001088/12.44, allocations: 16.28 kB / 4.492 GB, free: 155.7 MB / 1.276 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003889/12.44, allocations: 10.28 kB / 4.492 GB, free: 155.7 MB / 1.276 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001123/12.44, allocations: 119 kB / 4.492 GB, free: 155.7 MB / 1.276 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03371/12.47, allocations: 26.04 MB / 4.517 GB, free: 139.7 MB / 1.276 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001891/12.47, allocations: 1.09 MB / 4.518 GB, free: 139.7 MB / 1.276 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/12.47, allocations: 1.105 MB / 4.519 GB, free: 139.7 MB / 1.276 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00234/12.48, allocations: 3.936 MB / 4.523 GB, free: 135.3 MB / 1.276 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.137e-05/12.48, allocations: 70.47 kB / 4.523 GB, free: 135.2 MB / 1.276 GB Notification: Performance of pre-optimization done (n=225): time 4.148e-06/12.48, allocations: 0 / 4.523 GB, free: 135.2 MB / 1.276 GB Notification: Performance of matching and sorting (n=225): time 0.007854/12.48, allocations: 2.962 MB / 4.526 GB, free: 134.8 MB / 1.276 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/12.48, allocations: 76.06 kB / 4.526 GB, free: 134.8 MB / 1.276 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00593/12.49, allocations: 3.308 MB / 4.529 GB, free: 134.5 MB / 1.276 GB Notification: Performance of collectPreVariables (initialization): time 0.0005424/12.49, allocations: 32.27 kB / 4.53 GB, free: 134.4 MB / 1.276 GB Notification: Performance of collectInitialEqns (initialization): time 0.001343/12.49, allocations: 1.708 MB / 4.531 GB, free: 133.8 MB / 1.276 GB Notification: Performance of collectInitialBindings (initialization): time 0.001227/12.49, allocations: 0.7529 MB / 4.532 GB, free: 133.4 MB / 1.276 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/12.49, allocations: 3.531 kB / 4.532 GB, free: 133.4 MB / 1.276 GB Notification: Performance of setup shared object (initialization): time 0.0001287/12.49, allocations: 407.4 kB / 4.532 GB, free: 133.1 MB / 1.276 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001098/12.49, allocations: 0.7401 MB / 4.533 GB, free: 133.1 MB / 1.276 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001706/12.5, allocations: 1.708 MB / 4.535 GB, free: 132 MB / 1.276 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004455/12.5, allocations: 1.414 MB / 4.536 GB, free: 131.9 MB / 1.276 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/12.5, allocations: 6.25 kB / 4.536 GB, free: 131.9 MB / 1.276 GB Notification: Performance of matching and sorting (n=341) (initialization): time 0.009401/12.51, allocations: 3.545 MB / 4.54 GB, free: 131.5 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 0.001893/12.51, allocations: 10.3 MB / 4.55 GB, free: 120.8 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.947e-05/12.51, allocations: 21.03 kB / 4.55 GB, free: 120.8 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007989/12.51, allocations: 386.1 kB / 4.55 GB, free: 120.8 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001838/12.51, allocations: 0.5134 MB / 4.551 GB, free: 120.8 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002169/12.52, allocations: 2.848 MB / 4.553 GB, free: 118.7 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005953/12.52, allocations: 499.6 kB / 4.554 GB, free: 118.6 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003611/12.52, allocations: 132.2 kB / 4.554 GB, free: 118.6 MB / 1.276 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/12.52, allocations: 3.531 kB / 4.554 GB, free: 118.6 MB / 1.276 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006956/12.53, allocations: 2.829 MB / 4.557 GB, free: 118.5 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.478e-05/12.53, allocations: 21.31 kB / 4.557 GB, free: 118.5 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009968/12.53, allocations: 395.1 kB / 4.557 GB, free: 118.5 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001691/12.53, allocations: 0.5162 MB / 4.558 GB, free: 118.5 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007432/12.54, allocations: 7.318 MB / 4.565 GB, free: 113.3 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005622/12.55, allocations: 459.2 kB / 4.565 GB, free: 113.2 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005304/12.55, allocations: 129.2 kB / 4.565 GB, free: 113.2 MB / 1.276 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.0009419/12.55, allocations: 179.3 kB / 4.565 GB, free: 113.1 MB / 1.276 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001615/12.55, allocations: 0.508 MB / 4.566 GB, free: 112.8 MB / 1.276 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008859/12.56, allocations: 4.154 MB / 4.57 GB, free: 112.6 MB / 1.276 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.021e-05/12.56, allocations: 38.53 kB / 4.57 GB, free: 112.6 MB / 1.276 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/12.56, allocations: 0 / 4.57 GB, free: 112.6 MB / 1.276 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005291/12.56, allocations: 2.738 MB / 4.573 GB, free: 112.4 MB / 1.276 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01749/12.58, allocations: 8.171 MB / 4.581 GB, free: 110.9 MB / 1.276 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.018e-05/12.58, allocations: 0 / 4.581 GB, free: 110.9 MB / 1.276 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/12.58, allocations: 390.5 kB / 4.581 GB, free: 110.9 MB / 1.276 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000452/12.58, allocations: 229.6 kB / 4.581 GB, free: 110.9 MB / 1.276 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/12.58, allocations: 39.56 kB / 4.581 GB, free: 110.9 MB / 1.276 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001424/12.58, allocations: 2.527 MB / 4.584 GB, free: 108.8 MB / 1.276 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/12.58, allocations: 1.406 kB / 4.584 GB, free: 108.8 MB / 1.276 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009225/12.59, allocations: 4.841 MB / 4.589 GB, free: 108 MB / 1.276 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01174/12.61, allocations: 6.966 MB / 4.595 GB, free: 106.9 MB / 1.276 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004483/12.61, allocations: 0.9709 MB / 4.596 GB, free: 106.5 MB / 1.276 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001671/12.61, allocations: 8.906 kB / 4.596 GB, free: 106.5 MB / 1.276 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004328/12.62, allocations: 397.2 kB / 4.597 GB, free: 106.5 MB / 1.276 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/12.62, allocations: 141.9 kB / 4.597 GB, free: 106.5 MB / 1.276 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002825/12.62, allocations: 116.4 kB / 4.597 GB, free: 106.5 MB / 1.276 GB Notification: Performance of sort global known variables: time 0.00431/12.62, allocations: 2.452 MB / 4.599 GB, free: 106.3 MB / 1.276 GB Notification: Performance of remove unused functions: time 0.01895/12.64, allocations: 4.772 MB / 4.604 GB, free: 105.9 MB / 1.276 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.006598/12.65, allocations: 3.432 MB / 4.607 GB, free: 104.6 MB / 1.276 GB Notification: Performance of simCode: created initialization part: time 0.007763/12.65, allocations: 4.258 MB / 4.611 GB, free: 104.1 MB / 1.276 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/12.65, allocations: 0.9688 kB / 4.611 GB, free: 104.1 MB / 1.276 GB Notification: Performance of simCode: created simulation system equations: time 0.002076/12.66, allocations: 1.248 MB / 4.613 GB, free: 104.1 MB / 1.276 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01502/12.67, allocations: 2.503 MB / 4.615 GB, free: 104.1 MB / 1.276 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01967/12.69, allocations: 7.338 MB / 4.622 GB, free: 102.2 MB / 1.276 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004081/12.7, allocations: 3.485 MB / 4.626 GB, free: 101.4 MB / 1.276 GB Notification: Performance of SimCode: time 1.553e-06/12.7, allocations: 1.594 kB / 4.626 GB, free: 101.4 MB / 1.276 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_HeaterCooler_u.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)