Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,fileNamePrefix="Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart",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 1.806/1.806, 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.0009949/0.0009953, allocations: 184.2 kB / 487 MB, free: 5.379 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.166/1.166, allocations: 221.3 MB / 0.7819 GB, free: 1.281 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.0009753/0.0009751, allocations: 102.5 kB / 0.9213 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4469/0.4479, allocations: 148.4 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1931/0.641, allocations: 142.3 MB / 1.205 GB, free: 26.07 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5424/1.183, allocations: 148 MB / 1.35 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001959/1.184, allocations: 75.59 kB / 1.35 GB, free: 15.82 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.002697/1.186, allocations: 1.216 MB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/1.186, allocations: 10.03 kB / 1.351 GB, free: 15.37 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/1.187, allocations: 88.69 kB / 1.351 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.764e-05/1.187, allocations: 269.5 kB / 1.351 GB, free: 15 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.187, allocations: 153.9 kB / 1.352 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.408e-05/1.187, allocations: 155.9 kB / 1.352 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 2.423e-05/1.187, allocations: 152.9 kB / 1.352 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.852e-05/1.187, allocations: 101 kB / 1.352 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/1.187, allocations: 83.27 kB / 1.352 GB, free: 14.36 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/1.187, allocations: 151.5 kB / 1.352 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/1.187, allocations: 152.1 kB / 1.352 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002054/1.187, allocations: 485.4 kB / 1.353 GB, free: 13.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.972e-05/1.187, allocations: 170.7 kB / 1.353 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/1.187, allocations: 81.39 kB / 1.353 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/1.187, allocations: 75.28 kB / 1.353 GB, free: 13.28 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.038e-05/1.187, allocations: 114 kB / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/1.187, allocations: 0 / 1.353 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=0): time 7.494e-05/1.187, allocations: 41.83 kB / 1.353 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.558e-05/1.187, allocations: 52.44 kB / 1.353 GB, free: 13.06 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/1.187, allocations: 202.1 kB / 1.354 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.09e-05/1.187, allocations: 25.7 kB / 1.354 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.054e-05/1.187, allocations: 106.5 kB / 1.354 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.302e-06/1.187, allocations: 0 / 1.354 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.033e-06/1.187, allocations: 0 / 1.354 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.523e-05/1.188, allocations: 325.5 kB / 1.354 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.68e-05/1.188, allocations: 45.3 kB / 1.354 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/1.188, allocations: 174.5 kB / 1.354 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004593/1.188, allocations: 123.1 kB / 1.354 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/1.188, allocations: 1.375 kB / 1.354 GB, free: 12.34 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006793/1.189, allocations: 274.8 kB / 1.355 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-06/1.189, allocations: 5.062 kB / 1.355 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/1.189, allocations: 4.469 kB / 1.355 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.189, allocations: 12.02 kB / 1.355 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/1.189, allocations: 43.55 kB / 1.355 GB, free: 12.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.189, allocations: 15.27 kB / 1.355 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.332e-05/1.189, allocations: 26.41 kB / 1.355 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.099e-05/1.189, allocations: 15.84 kB / 1.355 GB, free: 12.24 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 5.057e-05/1.189, allocations: 189.3 kB / 1.355 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.172e-05/1.189, allocations: 114.4 kB / 1.355 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.945e-05/1.189, allocations: 114.8 kB / 1.355 GB, free: 11.84 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.189, allocations: 180.2 kB / 1.355 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.367e-05/1.189, allocations: 183.4 kB / 1.355 GB, free: 11.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.049e-05/1.189, allocations: 177.4 kB / 1.356 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001273/1.19, allocations: 420.8 kB / 1.356 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.19, allocations: 107.9 kB / 1.356 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.158e-05/1.19, allocations: 102.3 kB / 1.356 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-05/1.19, allocations: 183 kB / 1.356 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/1.19, allocations: 181.6 kB / 1.357 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.072e-05/1.19, allocations: 183 kB / 1.357 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.267e-05/1.19, allocations: 180.2 kB / 1.357 GB, free: 9.926 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.006e-05/1.19, allocations: 312.7 kB / 1.357 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001726/1.19, allocations: 0.6846 MB / 1.358 GB, free: 24.91 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.409e-05/1.19, allocations: 191.5 kB / 1.358 GB, free: 24.71 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.198e-05/1.19, allocations: 181.2 kB / 1.358 GB, free: 24.52 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.517e-05/1.19, allocations: 103.2 kB / 1.358 GB, free: 24.42 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/1.19, allocations: 182.8 kB / 1.359 GB, free: 24.23 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.62e-05/1.19, allocations: 104.9 kB / 1.359 GB, free: 24.12 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0001017/1.19, allocations: 154.1 kB / 1.359 GB, free: 24.05 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0008262/1.191, allocations: 26.62 kB / 1.359 GB, free: 24.04 MB / 0.823 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 (0): * Single equations (assignments): 0 * 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.0001313/1.191, allocations: 179.7 kB / 1.359 GB, free: 23.88 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001381/1.191, allocations: 91.75 kB / 1.359 GB, free: 23.86 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/1.191, allocations: 0 / 1.359 GB, free: 23.86 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/1.192, allocations: 1.125 kB / 1.359 GB, free: 23.86 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/1.192, allocations: 0.5281 MB / 1.36 GB, free: 23.34 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/1.192, allocations: 224.6 kB / 1.36 GB, free: 23.18 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/1.192, allocations: 0.7295 MB / 1.36 GB, free: 22.47 MB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.192, allocations: 0 / 1.36 GB, free: 22.47 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.fmu > Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat does not exist to compare? outputFormat=mat