Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss",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 10.0.0-master/package.mo): time 2.077/2.077, allocations: 390.4 MB / 397.7 MB, free: 11.3 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.001007/0.001007, allocations: 180.1 kB / 490.8 MB, free: 1.961 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.376/1.376, allocations: 221.4 MB / 0.7863 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 96.67 kB / 0.9264 GB, free: 14.37 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.616/0.617, allocations: 149.1 MB / 1.072 GB, free: 164.6 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2712/0.8882, allocations: 143 MB / 1.212 GB, free: 21.86 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8892/1.777, allocations: 374.5 MB / 1.577 GB, free: 10.11 MB / 1.026 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002485/1.778, allocations: 81.58 kB / 1.577 GB, free: 10.07 MB / 1.026 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.02579/1.804, allocations: 9.875 MB / 1.587 GB, free: 2.023 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/1.804, allocations: 8 kB / 1.587 GB, free: 2.016 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.452e-05/1.804, allocations: 19.72 kB / 1.587 GB, free: 1.996 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004787/1.804, allocations: 243.3 kB / 1.587 GB, free: 1.727 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/1.804, allocations: 0 / 1.587 GB, free: 1.727 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/1.804, allocations: 4 kB / 1.587 GB, free: 1.723 MB / 1.026 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001574/1.804, allocations: 74.84 kB / 1.587 GB, free: 1.676 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/1.805, allocations: 114.6 kB / 1.588 GB, free: 1.578 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/1.805, allocations: 0 / 1.588 GB, free: 1.578 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/1.805, allocations: 0 / 1.588 GB, free: 1.578 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.563e-05/1.805, allocations: 11.98 kB / 1.588 GB, free: 1.566 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/1.805, allocations: 445.5 kB / 1.588 GB, free: 1.152 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001897/1.806, allocations: 130.2 kB / 1.588 GB, free: 1.051 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001167/1.806, allocations: 77.94 kB / 1.588 GB, free: 0.9922 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.209e-05/1.806, allocations: 8 kB / 1.588 GB, free: 0.9844 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/1.806, allocations: 33.94 kB / 1.588 GB, free: 0.9453 MB / 1.026 GB Notification: Performance of pre-optimization done (n=13): time 2.415e-06/1.806, allocations: 0 / 1.588 GB, free: 0.9453 MB / 1.026 GB Notification: Performance of matching and sorting (n=13): time 0.0006041/1.806, allocations: 208.6 kB / 1.588 GB, free: 0.7695 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.025e-05/1.806, allocations: 51.41 kB / 1.588 GB, free: 0.707 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001775/1.807, allocations: 177.1 kB / 1.589 GB, free: 0.5547 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/1.807, allocations: 25.7 kB / 1.589 GB, free: 0.5234 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 4.842e-05/1.807, allocations: 103 kB / 1.589 GB, free: 436 kB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/1.807, allocations: 38.62 kB / 1.589 GB, free: 400 kB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.888e-06/1.807, allocations: 0 / 1.589 GB, free: 400 kB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.807, allocations: 337.8 kB / 1.589 GB, free: 64 kB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.928e-05/1.807, allocations: 46.05 kB / 1.589 GB, free: 32 kB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001666/1.807, allocations: 53.95 kB / 1.589 GB, free: 15.99 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003027/1.807, allocations: 92.11 kB / 1.589 GB, free: 15.93 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.807, allocations: 0 / 1.589 GB, free: 15.93 MB / 1.042 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004574/1.808, allocations: 208.1 kB / 1.59 GB, free: 15.75 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.808, allocations: 4 kB / 1.59 GB, free: 15.75 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/1.808, allocations: 4 kB / 1.59 GB, free: 15.74 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/1.808, allocations: 4 kB / 1.59 GB, free: 15.74 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/1.808, allocations: 39.95 kB / 1.59 GB, free: 15.7 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/1.808, allocations: 4 kB / 1.59 GB, free: 15.7 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/1.808, allocations: 23.83 kB / 1.59 GB, free: 15.67 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/1.808, allocations: 4 kB / 1.59 GB, free: 15.67 MB / 1.042 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 6.887e-05/1.809, allocations: 101 kB / 1.59 GB, free: 15.56 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.044e-05/1.809, allocations: 27.72 kB / 1.59 GB, free: 15.54 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/1.809, allocations: 27.64 kB / 1.59 GB, free: 15.52 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/1.809, allocations: 0 / 1.59 GB, free: 15.52 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/1.809, allocations: 3.984 kB / 1.59 GB, free: 15.52 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/1.809, allocations: 3.938 kB / 1.59 GB, free: 15.52 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002425/1.809, allocations: 239.1 kB / 1.59 GB, free: 15.27 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.809, allocations: 0 / 1.59 GB, free: 15.27 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002431/1.809, allocations: 43.95 kB / 1.59 GB, free: 15.23 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/1.809, allocations: 0 / 1.59 GB, free: 15.23 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/1.809, allocations: 4 kB / 1.59 GB, free: 15.23 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/1.809, allocations: 0 / 1.59 GB, free: 15.23 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.809, allocations: 0 / 1.59 GB, free: 15.23 MB / 1.042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005039/1.81, allocations: 305.9 kB / 1.59 GB, free: 14.95 MB / 1.042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006041/1.81, allocations: 0.6694 MB / 1.591 GB, free: 14.3 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.238e-05/1.81, allocations: 114.9 kB / 1.591 GB, free: 14.18 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.061e-05/1.811, allocations: 3.938 kB / 1.591 GB, free: 14.17 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002168/1.811, allocations: 23.97 kB / 1.591 GB, free: 14.15 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.816e-05/1.811, allocations: 11.36 kB / 1.591 GB, free: 14.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/1.811, allocations: 4 kB / 1.591 GB, free: 14.14 MB / 1.042 GB Notification: Performance of sort global known variables: time 0.0001041/1.811, allocations: 145.8 kB / 1.591 GB, free: 14.02 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0008369/1.812, allocations: 43.59 kB / 1.591 GB, free: 13.98 MB / 1.042 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.0002501/1.812, allocations: 143.2 kB / 1.591 GB, free: 13.83 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.000237/1.812, allocations: 135.3 kB / 1.592 GB, free: 13.73 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/1.812, allocations: 0 / 1.592 GB, free: 13.73 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/1.812, allocations: 73.66 kB / 1.592 GB, free: 13.68 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/1.813, allocations: 23.05 kB / 1.592 GB, free: 13.66 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/1.813, allocations: 238.1 kB / 1.592 GB, free: 13.44 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004018/1.814, allocations: 0.757 MB / 1.593 GB, free: 12.66 MB / 1.042 GB Notification: Performance of SimCode: time 2.71e-07/1.814, allocations: 0 / 1.593 GB, free: 12.66 MB / 1.042 GB (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975HeatLoss.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975HeatLoss_res.mat does not exist to compare? outputFormat=mat