Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.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.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,fileNamePrefix="Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar",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.132/2.132, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.001022/0.001022, allocations: 180.3 kB / 487 MB, free: 5.375 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.387/1.387, allocations: 221.3 MB / 0.7819 GB, free: 1.383 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.000997/0.000997, allocations: 98.36 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6075/0.6086, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.8926, allocations: 142.3 MB / 1.205 GB, free: 26.15 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8181/1.711, allocations: 150 MB / 1.352 GB, free: 16.31 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002895/1.711, allocations: 87.27 kB / 1.352 GB, free: 16.31 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.005914/1.717, allocations: 1.758 MB / 1.354 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.614e-05/1.717, allocations: 8.156 kB / 1.354 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007804/1.718, allocations: 100.2 kB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/1.718, allocations: 187.3 kB / 1.354 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.949e-05/1.718, allocations: 34.78 kB / 1.354 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/1.718, allocations: 9.578 kB / 1.354 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002723/1.718, allocations: 145.9 kB / 1.354 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002487/1.719, allocations: 133.3 kB / 1.354 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/1.719, allocations: 0 / 1.354 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.719, allocations: 0.875 kB / 1.354 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.719, allocations: 1 kB / 1.354 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/1.72, allocations: 441.7 kB / 1.355 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/1.72, allocations: 154 kB / 1.355 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001461/1.72, allocations: 81.78 kB / 1.355 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.073e-05/1.72, allocations: 0.9688 kB / 1.355 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/1.72, allocations: 37.09 kB / 1.355 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.693e-06/1.72, allocations: 0 / 1.355 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0006178/1.721, allocations: 174.7 kB / 1.355 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/1.721, allocations: 52.22 kB / 1.355 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001608/1.721, allocations: 137.5 kB / 1.355 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.86e-05/1.721, allocations: 29.64 kB / 1.355 GB, free: 15.01 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.326e-05/1.721, allocations: 93.06 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/1.721, allocations: 6.266 kB / 1.355 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.217e-05/1.721, allocations: 4.031 kB / 1.355 GB, free: 14.92 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/1.721, allocations: 324.7 kB / 1.356 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/1.721, allocations: 70.09 kB / 1.356 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/1.721, allocations: 68.5 kB / 1.356 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002788/1.722, allocations: 61.06 kB / 1.356 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/1.722, allocations: 0 / 1.356 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005028/1.722, allocations: 178.6 kB / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/1.722, allocations: 5.25 kB / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/1.722, allocations: 1.125 kB / 1.356 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.722, allocations: 4 kB / 1.356 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/1.723, allocations: 28.97 kB / 1.356 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/1.723, allocations: 0 / 1.356 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001508/1.723, allocations: 15.92 kB / 1.356 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.431e-05/1.723, allocations: 15.2 kB / 1.356 GB, free: 14.56 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.699e-05/1.723, allocations: 111 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.705e-05/1.723, allocations: 7.031 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.537e-05/1.723, allocations: 9.875 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/1.723, allocations: 0 / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.723, allocations: 2.188 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/1.723, allocations: 1.125 kB / 1.356 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/1.723, allocations: 214.1 kB / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.723, allocations: 0 / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/1.723, allocations: 32.53 kB / 1.356 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/1.723, allocations: 3.906 kB / 1.356 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/1.723, allocations: 11.64 kB / 1.356 GB, free: 14.28 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/1.723, allocations: 5.719 kB / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.723, allocations: 0 / 1.357 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004638/1.724, allocations: 274.1 kB / 1.357 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005714/1.725, allocations: 0.6383 MB / 1.357 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/1.725, allocations: 84.62 kB / 1.357 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.229e-05/1.725, allocations: 1.641 kB / 1.357 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001951/1.725, allocations: 18.41 kB / 1.357 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/1.725, allocations: 3.016 kB / 1.357 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.111e-05/1.725, allocations: 12.5 kB / 1.358 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.397e-05/1.725, allocations: 120 kB / 1.358 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008916/1.726, allocations: 27.27 kB / 1.358 GB, free: 13.44 MB / 0.8073 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 (2): * Single equations (assignments): 2 * 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.0001765/1.726, allocations: 99.75 kB / 1.358 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003289/1.726, allocations: 170.6 kB / 1.358 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/1.726, allocations: 4.062 kB / 1.358 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001733/1.727, allocations: 92.42 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/1.727, allocations: 11.03 kB / 1.358 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005097/1.727, allocations: 186.4 kB / 1.358 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/1.728, allocations: 0.7236 MB / 1.359 GB, free: 12.55 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/1.728, allocations: 0 / 1.359 GB, free: 12.55 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Storage_Ice_BaseClasses_Examples_QStar.fmu > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1)