Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.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.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply,fileNamePrefix="Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply",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.777/1.777, allocations: 387.2 MB / 394.5 MB, free: 13.62 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.0009503/0.0009503, allocations: 181.2 kB / 487 MB, free: 5.355 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.135/1.135, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.0008259/0.0008259, allocations: 93.39 kB / 0.9213 GB, free: 2.637 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.3943/0.3952, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.5718, allocations: 142.3 MB / 1.205 GB, free: 26.12 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5003/1.072, allocations: 151 MB / 1.353 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001903/1.072, allocations: 86.7 kB / 1.353 GB, free: 15.79 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.01051/1.083, allocations: 4.713 MB / 1.357 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/1.083, allocations: 9.469 kB / 1.357 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.495e-05/1.083, allocations: 35.56 kB / 1.357 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000287/1.083, allocations: 289.8 kB / 1.358 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/1.083, allocations: 7.406 kB / 1.358 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.038e-05/1.083, allocations: 14.59 kB / 1.358 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002956/1.084, allocations: 159 kB / 1.358 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/1.084, allocations: 231.3 kB / 1.358 GB, free: 14.8 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/1.084, allocations: 3.938 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.256e-05/1.084, allocations: 4.906 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/1.084, allocations: 5.594 kB / 1.358 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001077/1.085, allocations: 0.8739 MB / 1.359 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003456/1.086, allocations: 253.5 kB / 1.359 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/1.086, allocations: 99.91 kB / 1.359 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/1.086, allocations: 7.422 kB / 1.359 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/1.086, allocations: 126.5 kB / 1.359 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=19): time 1.092e-06/1.086, allocations: 0.75 kB / 1.359 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of matching and sorting (n=19): time 0.0003073/1.086, allocations: 167 kB / 1.36 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/1.086, allocations: 105.4 kB / 1.36 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001798/1.086, allocations: 202.2 kB / 1.36 GB, free: 13.93 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/1.086, allocations: 26.67 kB / 1.36 GB, free: 13.9 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.513e-05/1.086, allocations: 148 kB / 1.36 GB, free: 13.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.713e-05/1.087, allocations: 63.16 kB / 1.36 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/1.087, allocations: 0 / 1.36 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.181e-05/1.087, allocations: 334.2 kB / 1.36 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.135e-05/1.087, allocations: 53.03 kB / 1.361 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001094/1.087, allocations: 94.23 kB / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000103/1.087, allocations: 60.58 kB / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.087, allocations: 0 / 1.361 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002708/1.087, allocations: 185.5 kB / 1.361 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.103e-05/1.087, allocations: 184.4 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/1.087, allocations: 4.875 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/1.087, allocations: 2.266 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/1.088, allocations: 48.62 kB / 1.361 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/1.088, allocations: 5.406 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/1.088, allocations: 37.59 kB / 1.361 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/1.088, allocations: 9.688 kB / 1.361 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 5.461e-06/1.088, allocations: 3.188 kB / 1.361 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002233/1.088, allocations: 129.8 kB / 1.361 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/1.088, allocations: 1.797 kB / 1.361 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.248e-06/1.088, allocations: 1.031 kB / 1.361 GB, free: 13.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/1.088, allocations: 53.22 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.866e-06/1.088, allocations: 5.812 kB / 1.361 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/1.088, allocations: 35.72 kB / 1.361 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.553e-05/1.088, allocations: 4.031 kB / 1.361 GB, free: 13.1 MB / 0.8073 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 (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 6.215e-05/1.088, allocations: 109.6 kB / 1.361 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/1.089, allocations: 22.09 kB / 1.361 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003454/1.089, allocations: 187.6 kB / 1.362 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.089, allocations: 2.609 kB / 1.362 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/1.089, allocations: 4.938 kB / 1.362 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/1.089, allocations: 5.031 kB / 1.362 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005903/1.09, allocations: 0.573 MB / 1.362 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.09, allocations: 4.078 kB / 1.362 GB, free: 12.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002266/1.09, allocations: 56.45 kB / 1.362 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/1.09, allocations: 0 / 1.362 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/1.09, allocations: 5.312 kB / 1.362 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/1.09, allocations: 3.906 kB / 1.362 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.09, allocations: 4 kB / 1.362 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003355/1.09, allocations: 371 kB / 1.363 GB, free: 12.22 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004545/1.091, allocations: 0.8276 MB / 1.363 GB, free: 11.51 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/1.091, allocations: 102 kB / 1.364 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.452e-05/1.091, allocations: 4.516 kB / 1.364 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/1.091, allocations: 34.34 kB / 1.364 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/1.091, allocations: 16.98 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.345e-05/1.091, allocations: 4.703 kB / 1.364 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9.693e-05/1.091, allocations: 161.2 kB / 1.364 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001404/1.092, allocations: 84.19 kB / 1.364 GB, free: 11.15 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conRadSup.conPIDRad.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.189e-05/1.093, allocations: 101.5 kB / 1.364 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002935/1.093, allocations: 224 kB / 1.364 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/1.093, allocations: 0 / 1.364 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.252e-05/1.093, allocations: 74.05 kB / 1.364 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000259/1.093, allocations: 30.5 kB / 1.364 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005998/1.094, allocations: 337.2 kB / 1.365 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002336/1.094, allocations: 0.795 MB / 1.365 GB, free: 9.785 MB / 0.8073 GB Notification: Performance of SimCode: time 9.12e-07/1.094, allocations: 3.938 kB / 1.365 GB, free: 9.781 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; mkfifo Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe >> ../files/Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_Tutorial_CDL_Controls_Validation_RadiatorSupply.fmu > Buildings_9_Buildings.Examples.Tutorial.CDL.Controls.Validation.RadiatorSupply.pipe 2>&1)