Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.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.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss,fileNamePrefix="Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss",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.036/2.036, allocations: 387.2 MB / 394.5 MB, free: 13.66 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.001165/0.001165, allocations: 177.3 kB / 487 MB, free: 5.367 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.314/1.314, allocations: 221.3 MB / 0.7819 GB, free: 1.367 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.0009741/0.0009743, allocations: 91.27 kB / 0.9213 GB, free: 2.625 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4885/0.4895, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.6933, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7451/1.438, allocations: 373.6 MB / 1.57 GB, free: 0.9883 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/1.439, allocations: 80.52 kB / 1.57 GB, free: 0.9453 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02385/1.463, allocations: 9.722 MB / 1.58 GB, free: 9.043 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.328e-05/1.463, allocations: 13.53 kB / 1.58 GB, free: 9.031 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/1.463, allocations: 19.81 kB / 1.58 GB, free: 9.012 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005679/1.463, allocations: 236.6 kB / 1.58 GB, free: 8.75 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/1.463, allocations: 4 kB / 1.58 GB, free: 8.746 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.167e-05/1.463, allocations: 0 / 1.58 GB, free: 8.746 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001628/1.464, allocations: 71.34 kB / 1.58 GB, free: 8.695 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002166/1.464, allocations: 111.9 kB / 1.58 GB, free: 8.605 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/1.464, allocations: 0 / 1.58 GB, free: 8.605 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.815e-05/1.464, allocations: 0 / 1.58 GB, free: 8.605 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.569e-05/1.464, allocations: 15.98 kB / 1.58 GB, free: 8.59 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/1.465, allocations: 426.1 kB / 1.581 GB, free: 8.191 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/1.465, allocations: 126.7 kB / 1.581 GB, free: 8.09 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/1.465, allocations: 65.41 kB / 1.581 GB, free: 8.043 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/1.465, allocations: 11.98 kB / 1.581 GB, free: 8.031 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/1.465, allocations: 34.31 kB / 1.581 GB, free: 7.992 MB / 1.01 GB Notification: Performance of pre-optimization done (n=13): time 1.392e-06/1.465, allocations: 4 kB / 1.581 GB, free: 7.988 MB / 1.01 GB Notification: Performance of matching and sorting (n=13): time 0.0006187/1.466, allocations: 195.7 kB / 1.581 GB, free: 7.82 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.109e-05/1.466, allocations: 55.34 kB / 1.581 GB, free: 7.754 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001848/1.466, allocations: 171.1 kB / 1.581 GB, free: 7.605 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/1.466, allocations: 29.7 kB / 1.581 GB, free: 7.57 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.208e-05/1.466, allocations: 103.2 kB / 1.581 GB, free: 7.473 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/1.466, allocations: 38.81 kB / 1.581 GB, free: 7.441 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.197e-05/1.466, allocations: 0 / 1.581 GB, free: 7.441 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.000129/1.466, allocations: 341.7 kB / 1.582 GB, free: 7.105 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.037e-05/1.466, allocations: 41.86 kB / 1.582 GB, free: 7.078 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.619e-05/1.466, allocations: 49.03 kB / 1.582 GB, free: 7.047 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002952/1.467, allocations: 83.22 kB / 1.582 GB, free: 6.98 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.467, allocations: 0 / 1.582 GB, free: 6.98 MB / 1.01 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004433/1.467, allocations: 199.2 kB / 1.582 GB, free: 6.812 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/1.467, allocations: 7.984 kB / 1.582 GB, free: 6.805 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.467, allocations: 4 kB / 1.582 GB, free: 6.801 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/1.467, allocations: 4 kB / 1.582 GB, free: 6.797 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/1.468, allocations: 35.97 kB / 1.582 GB, free: 6.762 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.468, allocations: 7.922 kB / 1.582 GB, free: 6.754 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001744/1.468, allocations: 27.83 kB / 1.582 GB, free: 6.727 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/1.468, allocations: 7.984 kB / 1.582 GB, free: 6.719 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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 7.848e-05/1.468, allocations: 102.4 kB / 1.582 GB, free: 6.613 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.771e-05/1.468, allocations: 23.72 kB / 1.582 GB, free: 6.59 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.715e-05/1.468, allocations: 26.09 kB / 1.582 GB, free: 6.578 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.468, allocations: 3.984 kB / 1.582 GB, free: 6.574 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/1.468, allocations: 0 / 1.582 GB, free: 6.574 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/1.468, allocations: 4 kB / 1.582 GB, free: 6.57 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/1.468, allocations: 224.1 kB / 1.582 GB, free: 6.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/1.468, allocations: 0 / 1.582 GB, free: 6.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.468, allocations: 43.91 kB / 1.583 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/1.468, allocations: 0 / 1.583 GB, free: 6.301 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/1.468, allocations: 3.984 kB / 1.583 GB, free: 6.297 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.469, allocations: 7.938 kB / 1.583 GB, free: 6.289 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.469, allocations: 0 / 1.583 GB, free: 6.289 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004796/1.469, allocations: 294 kB / 1.583 GB, free: 6.02 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005544/1.47, allocations: 0.6576 MB / 1.583 GB, free: 5.379 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/1.47, allocations: 114.9 kB / 1.584 GB, free: 5.254 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.962e-05/1.47, allocations: 0 / 1.584 GB, free: 5.254 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/1.47, allocations: 23.91 kB / 1.584 GB, free: 5.23 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.346e-05/1.47, allocations: 10.11 kB / 1.584 GB, free: 5.223 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.392e-05/1.47, allocations: 4 kB / 1.584 GB, free: 5.219 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0001047/1.47, allocations: 147.9 kB / 1.584 GB, free: 5.094 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0008409/1.471, allocations: 39.31 kB / 1.584 GB, free: 5.059 MB / 1.01 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 13 * 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 Backend phase and start with SimCode phase: time 0.0003029/1.471, allocations: 150.5 kB / 1.584 GB, free: 4.906 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002178/1.471, allocations: 110.8 kB / 1.584 GB, free: 4.828 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.472, allocations: 4 kB / 1.584 GB, free: 4.824 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000106/1.472, allocations: 65.42 kB / 1.584 GB, free: 4.777 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003016/1.472, allocations: 23.62 kB / 1.584 GB, free: 4.758 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005629/1.473, allocations: 230.2 kB / 1.584 GB, free: 4.539 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/1.473, allocations: 0.7533 MB / 1.585 GB, free: 3.762 MB / 1.01 GB Notification: Performance of SimCode: time 5.31e-07/1.473, allocations: 0 / 1.585 GB, free: 3.762 MB / 1.01 GB (rm -f Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; mkfifo Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe >> ../files/Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_ASHRAEHeatLoss.fmu > Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.ASHRAEHeatLoss_res.mat does not exist to compare? outputFormat=mat