Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",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.819/1.819, allocations: 390.4 MB / 397.7 MB, free: 11.27 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.0009509/0.0009509, allocations: 186 kB / 490.8 MB, free: 1.902 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.159/1.159, allocations: 221.4 MB / 0.7863 GB, free: 13.62 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.0008481/0.0008481, allocations: 93.62 kB / 0.9264 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 0.4148/0.4157, allocations: 149.1 MB / 1.072 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.5939, allocations: 143 MB / 1.212 GB, free: 39.97 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4885/1.082, allocations: 151.1 MB / 1.359 GB, free: 17.34 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001886/1.083, allocations: 85.97 kB / 1.359 GB, free: 17.34 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.008107/1.091, allocations: 3.724 MB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/1.091, allocations: 10 kB / 1.363 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/1.091, allocations: 28.97 kB / 1.363 GB, free: 32.72 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/1.091, allocations: 262 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.287e-05/1.091, allocations: 5.562 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.388e-05/1.091, allocations: 11.88 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002266/1.091, allocations: 121.7 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002678/1.092, allocations: 189.1 kB / 1.363 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/1.092, allocations: 2.188 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/1.092, allocations: 0 / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-06/1.092, allocations: 10.8 kB / 1.364 GB, free: 32.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008753/1.093, allocations: 0.7444 MB / 1.364 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/1.093, allocations: 149.5 kB / 1.364 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/1.093, allocations: 76.73 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.014e-05/1.093, allocations: 1.031 kB / 1.364 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001154/1.093, allocations: 94.94 kB / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.192e-06/1.093, allocations: 0 / 1.365 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0002312/1.093, allocations: 134.4 kB / 1.365 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.129e-05/1.093, allocations: 79.36 kB / 1.365 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/1.094, allocations: 173.8 kB / 1.365 GB, free: 31.74 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/1.094, allocations: 26.73 kB / 1.365 GB, free: 31.71 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.853e-05/1.094, allocations: 139.2 kB / 1.365 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.656e-05/1.094, allocations: 46.17 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-06/1.094, allocations: 4 kB / 1.365 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001037/1.094, allocations: 327.6 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.606e-05/1.094, allocations: 37.69 kB / 1.365 GB, free: 31.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.797e-05/1.094, allocations: 72.45 kB / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.174e-05/1.094, allocations: 40.66 kB / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/1.094, allocations: 0 / 1.366 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002039/1.094, allocations: 156.5 kB / 1.366 GB, free: 31.17 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.959e-05/1.094, allocations: 183.8 kB / 1.366 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/1.094, allocations: 3.938 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.658e-06/1.094, allocations: 2.797 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/1.095, allocations: 40.94 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/1.095, allocations: 1.281 kB / 1.366 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/1.095, allocations: 32.11 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/1.095, allocations: 3.625 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-06/1.095, allocations: 7.75 kB / 1.366 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001417/1.095, allocations: 89.78 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-06/1.095, allocations: 1.25 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-06/1.095, allocations: 1.406 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/1.095, allocations: 42.45 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/1.095, allocations: 1.5 kB / 1.366 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/1.095, allocations: 27.77 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.346e-06/1.095, allocations: 4.031 kB / 1.366 GB, free: 30.95 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.243e-05/1.095, allocations: 107.5 kB / 1.366 GB, free: 30.84 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/1.095, allocations: 15.91 kB / 1.366 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.367e-05/1.095, allocations: 18.53 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/1.095, allocations: 1.438 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/1.095, allocations: 3.906 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.095, allocations: 2.891 kB / 1.366 GB, free: 30.82 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000361/1.096, allocations: 477.3 kB / 1.367 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.096, allocations: 1.312 kB / 1.367 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/1.096, allocations: 42.23 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.584e-06/1.096, allocations: 1.438 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/1.096, allocations: 0 / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/1.096, allocations: 1.344 kB / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/1.096, allocations: 0 / 1.367 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002971/1.096, allocations: 303.4 kB / 1.367 GB, free: 30.39 MB / 0.8386 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004373/1.097, allocations: 0.7115 MB / 1.368 GB, free: 29.88 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.312e-05/1.097, allocations: 95.88 kB / 1.368 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/1.097, allocations: 5.688 kB / 1.368 GB, free: 29.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001566/1.097, allocations: 21.81 kB / 1.368 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/1.097, allocations: 11.2 kB / 1.368 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.145e-05/1.097, allocations: 4.562 kB / 1.368 GB, free: 29.76 MB / 0.8386 GB Notification: Performance of sort global known variables: time 9.876e-05/1.097, allocations: 148.2 kB / 1.368 GB, free: 29.68 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001486/1.099, allocations: 62.42 kB / 1.368 GB, free: 29.66 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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 9.993e-05/1.099, allocations: 115.9 kB / 1.368 GB, free: 29.56 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002495/1.099, allocations: 166.2 kB / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/1.099, allocations: 1 kB / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.359e-05/1.099, allocations: 53.86 kB / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/1.099, allocations: 23.23 kB / 1.368 GB, free: 29.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005528/1.1, allocations: 283.4 kB / 1.369 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003851/1.1, allocations: 0.7629 MB / 1.369 GB, free: 28.72 MB / 0.8386 GB Notification: Performance of SimCode: time 2.91e-07/1.1, allocations: 5.062 kB / 1.369 GB, free: 28.71 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_latest_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)