Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.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.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 1.816/1.816, allocations: 390.4 MB / 397.7 MB, free: 11.2 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.001045/0.001045, allocations: 181.2 kB / 490.8 MB, free: 1.918 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.146/1.146, allocations: 221.4 MB / 0.7863 GB, free: 13.64 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.0008461/0.0008461, allocations: 103.2 kB / 0.9264 GB, free: 14.18 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4434/0.4443, allocations: 149.1 MB / 1.072 GB, free: 182.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.6341, allocations: 143 MB / 1.212 GB, free: 39.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5278/1.162, allocations: 150.7 MB / 1.359 GB, free: 16.92 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/1.162, allocations: 68.8 kB / 1.359 GB, free: 16.92 MB / 0.823 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.01943/1.182, allocations: 8.347 MB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.47e-05/1.182, allocations: 8.609 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001333/1.182, allocations: 62.25 kB / 1.367 GB, free: 31.87 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001928/1.182, allocations: 251.2 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.342e-05/1.182, allocations: 18.94 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.955e-05/1.182, allocations: 33.78 kB / 1.367 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005449/1.183, allocations: 294.3 kB / 1.368 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/1.183, allocations: 415.9 kB / 1.368 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.183, allocations: 3.906 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/1.183, allocations: 2.031 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.396e-05/1.183, allocations: 13.47 kB / 1.368 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/1.185, allocations: 1.368 MB / 1.369 GB, free: 31.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004086/1.186, allocations: 242.2 kB / 1.37 GB, free: 31.02 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002845/1.186, allocations: 157 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.242e-05/1.186, allocations: 5.344 kB / 1.37 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002002/1.186, allocations: 172.7 kB / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=34): time 1.664e-06/1.186, allocations: 0 / 1.37 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=34): time 0.0004047/1.187, allocations: 239.8 kB / 1.37 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.298e-05/1.187, allocations: 81.58 kB / 1.37 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/1.187, allocations: 223.6 kB / 1.371 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/1.187, allocations: 27.73 kB / 1.371 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002086/1.187, allocations: 251.5 kB / 1.371 GB, free: 30.46 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/1.187, allocations: 115.3 kB / 1.371 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/1.187, allocations: 5.5 kB / 1.371 GB, free: 30.38 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001229/1.188, allocations: 336.4 kB / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/1.188, allocations: 108.5 kB / 1.371 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/1.188, allocations: 148.2 kB / 1.371 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/1.188, allocations: 136.4 kB / 1.372 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.188, allocations: 0 / 1.372 GB, free: 30.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006407/1.189, allocations: 349.1 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/1.189, allocations: 6.562 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/1.189, allocations: 1.5 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/1.189, allocations: 1.562 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003175/1.189, allocations: 81.02 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.586e-06/1.189, allocations: 2.891 kB / 1.372 GB, free: 29.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/1.19, allocations: 70.64 kB / 1.372 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.231e-05/1.19, allocations: 20.81 kB / 1.372 GB, free: 29.93 MB / 0.8386 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 9.578e-05/1.19, allocations: 121.1 kB / 1.372 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.19, allocations: 28.97 kB / 1.372 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000418/1.19, allocations: 252.6 kB / 1.372 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/1.19, allocations: 4 kB / 1.372 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/1.19, allocations: 5.5 kB / 1.373 GB, free: 29.75 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/1.19, allocations: 9.766 kB / 1.373 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008884/1.191, allocations: 0.8421 MB / 1.373 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/1.191, allocations: 3.125 kB / 1.373 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002556/1.192, allocations: 61.55 kB / 1.373 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.051e-06/1.192, allocations: 3.625 kB / 1.373 GB, free: 29.33 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/1.192, allocations: 11.38 kB / 1.373 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/1.192, allocations: 7.594 kB / 1.373 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/1.192, allocations: 2.625 kB / 1.373 GB, free: 29.32 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004194/1.192, allocations: 0.5216 MB / 1.374 GB, free: 28.93 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004907/1.193, allocations: 0.9017 MB / 1.375 GB, free: 28.16 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.919e-05/1.193, allocations: 113.2 kB / 1.375 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.345e-05/1.193, allocations: 4.172 kB / 1.375 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002138/1.193, allocations: 14.31 kB / 1.375 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.063e-05/1.193, allocations: 25.25 kB / 1.375 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/1.193, allocations: 9.219 kB / 1.375 GB, free: 28.04 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0001676/1.193, allocations: 180.1 kB / 1.375 GB, free: 27.96 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009658/1.194, allocations: 117.7 kB / 1.375 GB, free: 27.93 MB / 0.8386 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.0001316/1.194, allocations: 120 kB / 1.375 GB, free: 27.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000454/1.195, allocations: 286.8 kB / 1.376 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.195, allocations: 0 / 1.376 GB, free: 27.78 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001675/1.195, allocations: 118.2 kB / 1.376 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/1.195, allocations: 42.3 kB / 1.376 GB, free: 27.76 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009603/1.196, allocations: 0.5214 MB / 1.376 GB, free: 27.51 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004527/1.197, allocations: 0.8711 MB / 1.377 GB, free: 26.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.197, allocations: 1.469 kB / 1.377 GB, free: 26.8 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_Utilities_SetPoints_Validation_SupplyReturnTemperatureReset.fmu > Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.Utilities.SetPoints.Validation.SupplyReturnTemperatureReset_res.mat does not exist to compare? outputFormat=mat