Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.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.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad,fileNamePrefix="Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad",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.083/2.083, allocations: 387.2 MB / 394.5 MB, free: 13.65 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.001084/0.001084, allocations: 181.3 kB / 487 MB, free: 5.371 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.393/1.393, allocations: 221.3 MB / 0.7819 GB, free: 1.375 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.0008957/0.0008957, allocations: 97.44 kB / 0.9213 GB, free: 2.621 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.6491/0.65, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.9396, allocations: 142.3 MB / 1.205 GB, free: 26.14 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7831/1.723, allocations: 150.6 MB / 1.352 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002698/1.723, allocations: 87.06 kB / 1.352 GB, free: 15.86 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.07783/1.801, allocations: 42.6 MB / 1.394 GB, free: 6.074 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/1.801, allocations: 12 kB / 1.394 GB, free: 6.062 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.485e-05/1.801, allocations: 75.28 kB / 1.394 GB, free: 5.988 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001858/1.801, allocations: 242.2 kB / 1.394 GB, free: 5.711 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/1.801, allocations: 154.5 kB / 1.395 GB, free: 5.559 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.255e-05/1.801, allocations: 154.6 kB / 1.395 GB, free: 5.406 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.001e-05/1.802, allocations: 158.1 kB / 1.395 GB, free: 5.254 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.609e-05/1.802, allocations: 105 kB / 1.395 GB, free: 5.145 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/1.802, allocations: 75.28 kB / 1.395 GB, free: 5.07 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.898e-05/1.802, allocations: 150.6 kB / 1.395 GB, free: 4.922 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.002e-05/1.802, allocations: 150.6 kB / 1.395 GB, free: 4.773 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/1.802, allocations: 430 kB / 1.396 GB, free: 4.32 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.838e-05/1.802, allocations: 173.1 kB / 1.396 GB, free: 4.141 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.412e-05/1.802, allocations: 84.08 kB / 1.396 GB, free: 4.055 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/1.802, allocations: 75.28 kB / 1.396 GB, free: 3.98 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.372e-05/1.802, allocations: 109.8 kB / 1.396 GB, free: 3.863 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.292e-06/1.802, allocations: 0 / 1.396 GB, free: 3.863 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 7.637e-05/1.803, allocations: 29.7 kB / 1.396 GB, free: 3.828 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/1.803, allocations: 131.8 kB / 1.396 GB, free: 3.672 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.803, allocations: 92.2 kB / 1.396 GB, free: 3.578 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/1.803, allocations: 25.7 kB / 1.396 GB, free: 3.547 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 3.446e-05/1.803, allocations: 84.12 kB / 1.396 GB, free: 3.461 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/1.803, allocations: 0 / 1.396 GB, free: 3.461 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.8e-07/1.803, allocations: 7.938 kB / 1.396 GB, free: 3.453 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001286/1.803, allocations: 314.3 kB / 1.397 GB, free: 3.141 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.417e-06/1.803, allocations: 4 kB / 1.397 GB, free: 3.137 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.847e-05/1.803, allocations: 18.7 kB / 1.397 GB, free: 3.109 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.734e-05/1.803, allocations: 83.19 kB / 1.397 GB, free: 3.027 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.301e-05/1.803, allocations: 75.28 kB / 1.397 GB, free: 2.953 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.899e-05/1.803, allocations: 29.7 kB / 1.397 GB, free: 2.918 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/1.803, allocations: 4 kB / 1.397 GB, free: 2.914 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.823e-05/1.803, allocations: 79.31 kB / 1.397 GB, free: 2.836 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.521e-05/1.803, allocations: 166.5 kB / 1.397 GB, free: 2.672 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/1.803, allocations: 79.28 kB / 1.397 GB, free: 2.594 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.691e-05/1.803, allocations: 154.6 kB / 1.397 GB, free: 2.441 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/1.804, allocations: 84.17 kB / 1.398 GB, free: 2.363 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.497e-05/1.804, allocations: 79.28 kB / 1.398 GB, free: 2.285 MB / 0.823 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 (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 prepare postOptimizeDAE: time 0.0001292/1.804, allocations: 260.9 kB / 1.398 GB, free: 2.023 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.064e-05/1.804, allocations: 112.9 kB / 1.398 GB, free: 1.906 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.283e-05/1.804, allocations: 111.9 kB / 1.398 GB, free: 1.793 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.687e-05/1.804, allocations: 176.3 kB / 1.398 GB, free: 1.613 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.345e-05/1.804, allocations: 176.3 kB / 1.398 GB, free: 1.434 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-05/1.804, allocations: 188.2 kB / 1.399 GB, free: 1.242 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/1.804, allocations: 380.4 kB / 1.399 GB, free: 0.8281 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.373e-05/1.804, allocations: 101.2 kB / 1.399 GB, free: 0.7227 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/1.804, allocations: 112.8 kB / 1.399 GB, free: 0.6055 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.92e-05/1.805, allocations: 184.3 kB / 1.399 GB, free: 428 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.862e-05/1.805, allocations: 179 kB / 1.399 GB, free: 244 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.774e-05/1.805, allocations: 184.2 kB / 1.4 GB, free: 52 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.38e-05/1.805, allocations: 180.2 kB / 1.4 GB, free: 15.87 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001385/1.805, allocations: 311.2 kB / 1.4 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003481/1.805, allocations: 0.6812 MB / 1.401 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.517e-05/1.805, allocations: 182.1 kB / 1.401 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.754e-05/1.805, allocations: 176.3 kB / 1.401 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001432/1.806, allocations: 105 kB / 1.401 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.645e-05/1.806, allocations: 188.1 kB / 1.401 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.644e-05/1.806, allocations: 105 kB / 1.402 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.626e-05/1.806, allocations: 82.22 kB / 1.402 GB, free: 13.97 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001008/1.807, allocations: 4 kB / 1.402 GB, free: 13.97 MB / 0.8386 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.0001618/1.807, allocations: 178.5 kB / 1.402 GB, free: 13.79 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 4.23e-05/1.807, allocations: 3.938 kB / 1.402 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/1.807, allocations: 0 / 1.402 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/1.807, allocations: 0 / 1.402 GB, free: 13.78 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/1.807, allocations: 0.5293 MB / 1.402 GB, free: 13.25 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001984/1.808, allocations: 119.2 kB / 1.402 GB, free: 13.11 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002961/1.808, allocations: 0.6841 MB / 1.403 GB, free: 12.4 MB / 0.8386 GB Notification: Performance of SimCode: time 3.21e-07/1.808, allocations: 0 / 1.403 GB, free: 12.4 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; mkfifo Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe ; head -c 1048576 < Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe >> ../files/Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat --tempDir=temp_Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Experimental_DHC_Loads_BaseClasses_Validation_GetPeakLoad.fmu > Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Experimental.DHC.Loads.BaseClasses.Validation.GetPeakLoad_res.mat does not exist to compare? outputFormat=mat