Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",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.828/1.828, 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.000952/0.000952, allocations: 177.2 kB / 487 MB, free: 5.359 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.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 1.418 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.0008434/0.0008434, allocations: 101 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4378/0.4387, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1996/0.6383, allocations: 142.3 MB / 1.205 GB, free: 26.11 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.538/1.176, allocations: 149.9 MB / 1.352 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/1.177, allocations: 69.77 kB / 1.352 GB, free: 15.84 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: 139 * Number of variables: 139 Notification: Performance of Generate backend data structure: time 0.02048/1.197, allocations: 8.345 MB / 1.36 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/1.197, allocations: 10.34 kB / 1.36 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001062/1.197, allocations: 69.19 kB / 1.36 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/1.197, allocations: 248.8 kB / 1.36 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.025e-05/1.197, allocations: 17.31 kB / 1.36 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.842e-05/1.198, allocations: 35.48 kB / 1.36 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005605/1.198, allocations: 293.5 kB / 1.361 GB, free: 14.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007357/1.199, allocations: 416.5 kB / 1.361 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/1.199, allocations: 0.5 kB / 1.361 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.005e-05/1.199, allocations: 5.047 kB / 1.361 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.461e-05/1.199, allocations: 13.69 kB / 1.361 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/1.201, allocations: 1.373 MB / 1.362 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003792/1.201, allocations: 240.3 kB / 1.363 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/1.201, allocations: 161.4 kB / 1.363 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.091e-05/1.201, allocations: 8.734 kB / 1.363 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001875/1.202, allocations: 168.7 kB / 1.363 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=34): time 1.442e-06/1.202, allocations: 0 / 1.363 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of matching and sorting (n=34): time 0.0003621/1.202, allocations: 241.8 kB / 1.363 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.622e-05/1.202, allocations: 81.77 kB / 1.363 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/1.202, allocations: 227.8 kB / 1.363 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.27e-05/1.202, allocations: 29.7 kB / 1.363 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/1.202, allocations: 249.5 kB / 1.364 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/1.203, allocations: 108.6 kB / 1.364 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/1.203, allocations: 0 / 1.364 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.767e-05/1.203, allocations: 342 kB / 1.364 GB, free: 12.2 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/1.203, allocations: 100.7 kB / 1.364 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/1.203, allocations: 152.4 kB / 1.364 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003274/1.203, allocations: 134.3 kB / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.203, allocations: 0 / 1.364 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006057/1.204, allocations: 360 kB / 1.365 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.204, allocations: 4 kB / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/1.204, allocations: 0 / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/1.204, allocations: 4 kB / 1.365 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002921/1.204, allocations: 79.84 kB / 1.365 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.627e-06/1.204, allocations: 3.938 kB / 1.365 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003217/1.205, allocations: 71.64 kB / 1.365 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.388e-05/1.205, allocations: 15.56 kB / 1.365 GB, free: 11.57 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.TRoo1.booPul.y,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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.437e-05/1.205, allocations: 108.8 kB / 1.365 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/1.205, allocations: 39.27 kB / 1.365 GB, free: 11.42 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003578/1.205, allocations: 253.8 kB / 1.365 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/1.205, allocations: 7.906 kB / 1.365 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.028e-06/1.205, allocations: 0 / 1.365 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.401e-06/1.205, allocations: 4 kB / 1.365 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007084/1.206, allocations: 0.8415 MB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/1.206, allocations: 3.938 kB / 1.366 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002381/1.206, allocations: 63.09 kB / 1.366 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/1.206, allocations: 7.906 kB / 1.366 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.206, allocations: 4.188 kB / 1.366 GB, free: 10.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/1.206, allocations: 11.98 kB / 1.366 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.206, allocations: 4 kB / 1.366 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003688/1.207, allocations: 0.5194 MB / 1.367 GB, free: 9.887 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003619/1.207, allocations: 0.9044 MB / 1.368 GB, free: 8.973 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.644e-05/1.207, allocations: 108.1 kB / 1.368 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.121e-05/1.207, allocations: 7.984 kB / 1.368 GB, free: 8.844 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/1.207, allocations: 12 kB / 1.368 GB, free: 8.832 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/1.207, allocations: 22.94 kB / 1.368 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/1.207, allocations: 11.25 kB / 1.368 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0001106/1.207, allocations: 182.7 kB / 1.368 GB, free: 8.66 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009324/1.208, allocations: 118.4 kB / 1.368 GB, free: 8.547 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,TRoo1.booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001205/1.209, allocations: 115.2 kB / 1.368 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003666/1.209, allocations: 287.2 kB / 1.369 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.209, allocations: 0 / 1.369 GB, free: 8.223 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001415/1.209, allocations: 117.1 kB / 1.369 GB, free: 8.141 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003584/1.209, allocations: 43.22 kB / 1.369 GB, free: 8.105 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008391/1.21, allocations: 0.5313 MB / 1.369 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002941/1.211, allocations: 0.86 MB / 1.37 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of SimCode: time 2.4e-07/1.211, allocations: 4 kB / 1.37 GB, free: 6.699 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat