Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.25/1.25, allocations: 249.4 MB / 256.7 MB, free: 6.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 184.8 kB / 316 MB, free: 3.508 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.103/1.103, allocations: 205.2 MB / 0.5667 GB, free: 15.64 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008946/0.0008946, allocations: 86.45 kB / 0.671 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3069/0.3079, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.4564, allocations: 106.3 MB / 0.8847 GB, free: 12.52 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/0.9071, allocations: 135 MB / 1.016 GB, free: 3.625 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002179/0.9074, allocations: 93.61 kB / 1.017 GB, free: 3.57 MB / 0.6355 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.01108/0.9185, allocations: 4.831 MB / 1.021 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.9185, allocations: 8 kB / 1.021 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.096e-05/0.9186, allocations: 31.62 kB / 1.021 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003213/0.9189, allocations: 274.2 kB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.9189, allocations: 8 kB / 1.022 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.919, allocations: 11.91 kB / 1.022 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002432/0.9192, allocations: 132.3 kB / 1.022 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003019/0.9195, allocations: 200.1 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.467e-06/0.9196, allocations: 0 / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.874e-05/0.9196, allocations: 0 / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.9196, allocations: 8 kB / 1.022 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.9206, allocations: 0.9313 MB / 1.023 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003358/0.921, allocations: 165.1 kB / 1.023 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.9211, allocations: 72.67 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.186e-05/0.9211, allocations: 4 kB / 1.023 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.9212, allocations: 34.56 kB / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.9212, allocations: 0 / 1.023 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0002824/0.9215, allocations: 134.5 kB / 1.023 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.9215, allocations: 81.11 kB / 1.023 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00018/0.9217, allocations: 197.5 kB / 1.023 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.782e-05/0.9217, allocations: 29.64 kB / 1.023 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.751e-05/0.9218, allocations: 138 kB / 1.024 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.308e-05/0.9218, allocations: 50.23 kB / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.234e-06/0.9219, allocations: 0 / 1.024 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.749e-05/0.922, allocations: 329.8 kB / 1.024 GB, free: 13 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.922, allocations: 45.06 kB / 1.024 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.228e-05/0.9221, allocations: 82.17 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.716e-05/0.9222, allocations: 45.11 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.9222, allocations: 4.031 kB / 1.024 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002179/0.9225, allocations: 151.5 kB / 1.024 GB, free: 12.76 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.077e-05/0.9225, allocations: 189.5 kB / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.9225, allocations: 0 / 1.024 GB, free: 12.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.9226, allocations: 11.84 kB / 1.024 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001882/0.9228, allocations: 43.33 kB / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.9228, allocations: 0 / 1.025 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001471/0.9229, allocations: 27.97 kB / 1.025 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.9229, allocations: 4 kB / 1.025 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-06/0.923, allocations: 4 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001613/0.9231, allocations: 106.6 kB / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-06/0.9231, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-06/0.9231, allocations: 0 / 1.025 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.9233, allocations: 40 kB / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.372e-06/0.9233, allocations: 0 / 1.025 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001094/0.9234, allocations: 23.42 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.9234, allocations: 7.906 kB / 1.025 GB, free: 12.35 MB / 0.6511 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 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 7.398e-05/0.9235, allocations: 108.9 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.9235, allocations: 15.81 kB / 1.025 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.554e-05/0.9236, allocations: 25.8 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.9236, allocations: 4 kB / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.9236, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.9236, allocations: 0 / 1.025 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004876/0.9241, allocations: 0.5044 MB / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.9241, allocations: 0 / 1.025 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001882/0.9243, allocations: 40 kB / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.9243, allocations: 0 / 1.025 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.396e-05/0.9244, allocations: 7.938 kB / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.9244, allocations: 0 / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.9244, allocations: 0 / 1.025 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003682/0.9247, allocations: 332 kB / 1.026 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005078/0.9253, allocations: 0.7536 MB / 1.026 GB, free: 10.75 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.996e-05/0.9253, allocations: 91.98 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.97e-05/0.9254, allocations: 4 kB / 1.027 GB, free: 10.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/0.9255, allocations: 23.92 kB / 1.027 GB, free: 10.62 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.916e-05/0.9256, allocations: 11.17 kB / 1.027 GB, free: 10.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.9256, allocations: 7.906 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001176/0.9257, allocations: 156.2 kB / 1.027 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001416/0.9271, allocations: 75.56 kB / 1.027 GB, free: 10.41 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * 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 0.0001283/0.9273, allocations: 107.2 kB / 1.027 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002751/0.9276, allocations: 168.8 kB / 1.027 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.9276, allocations: 0 / 1.027 GB, free: 10.19 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.923e-05/0.9277, allocations: 64.05 kB / 1.027 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003184/0.928, allocations: 42.98 kB / 1.027 GB, free: 10.11 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.9286, allocations: 290.8 kB / 1.027 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003412/0.929, allocations: 0.7766 MB / 1.028 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of SimCode: time 2.91e-07/0.929, allocations: 0 / 1.028 GB, free: 9.043 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_Tutorial_CDL_Controls_Validation_BoilerReturn.fmu > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.pipe 2>&1)