Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.247/2.247, allocations: 248.6 MB / 255.9 MB, free: 7.086 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.001737/0.001737, allocations: 177.3 kB / 315.1 MB, free: 4.234 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.848/1.848, allocations: 205.1 MB / 0.5658 GB, free: 328 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001315/0.001315, allocations: 94.2 kB / 0.67 GB, free: 5.523 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4617/0.463, allocations: 112.4 MB / 0.7797 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.6813, allocations: 106.2 MB / 0.8835 GB, free: 13.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6359/1.317, allocations: 134.7 MB / 1.015 GB, free: 5.379 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003064/1.318, allocations: 85.94 kB / 1.015 GB, free: 5.328 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.01881/1.336, allocations: 4.85 MB / 1.02 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/1.337, allocations: 8 kB / 1.02 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.783e-05/1.337, allocations: 31.62 kB / 1.02 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/1.337, allocations: 269.8 kB / 1.02 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/1.337, allocations: 8 kB / 1.02 GB, free: 0.9258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.457e-05/1.337, allocations: 12 kB / 1.02 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004525/1.338, allocations: 135.1 kB / 1.02 GB, free: 0.8359 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005029/1.338, allocations: 192.8 kB / 1.021 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/1.338, allocations: 3.984 kB / 1.021 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.789e-05/1.338, allocations: 0 / 1.021 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.338, allocations: 7.938 kB / 1.021 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001893/1.34, allocations: 0.9301 MB / 1.021 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/1.341, allocations: 160.2 kB / 1.022 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000199/1.341, allocations: 74.55 kB / 1.022 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/1.341, allocations: 4 kB / 1.022 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/1.341, allocations: 37.92 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 2.174e-06/1.341, allocations: 3.938 kB / 1.022 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.000467/1.342, allocations: 135.1 kB / 1.022 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.342, allocations: 81.11 kB / 1.022 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003366/1.342, allocations: 194.4 kB / 1.022 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/1.342, allocations: 25.7 kB / 1.022 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/1.342, allocations: 139.2 kB / 1.022 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/1.342, allocations: 50.64 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.31e-05/1.342, allocations: 0 / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001492/1.343, allocations: 332.8 kB / 1.023 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001367/1.343, allocations: 40.75 kB / 1.023 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001856/1.343, allocations: 81.86 kB / 1.023 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/1.343, allocations: 47.81 kB / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/1.343, allocations: 0 / 1.023 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0004304/1.344, allocations: 151.6 kB / 1.023 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001131/1.344, allocations: 185.3 kB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/1.344, allocations: 4 kB / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/1.344, allocations: 0 / 1.023 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003911/1.344, allocations: 43.91 kB / 1.023 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/1.344, allocations: 3.906 kB / 1.023 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002902/1.344, allocations: 39.91 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.116e-05/1.345, allocations: 7.562 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/1.345, allocations: 6.5 kB / 1.023 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003427/1.345, allocations: 102.9 kB / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/1.345, allocations: 0 / 1.023 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.374e-06/1.345, allocations: 7.906 kB / 1.023 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002946/1.345, allocations: 27.98 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/1.345, allocations: 7.984 kB / 1.023 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002185/1.345, allocations: 20.02 kB / 1.023 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/1.345, allocations: 4 kB / 1.023 GB, free: 14.09 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 0.0001309/1.346, allocations: 112.3 kB / 1.023 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.668e-05/1.346, allocations: 19.81 kB / 1.023 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.744e-05/1.346, allocations: 16.28 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/1.346, allocations: 0 / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.346, allocations: 7.891 kB / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.02e-06/1.346, allocations: 0 / 1.023 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008963/1.347, allocations: 0.4991 MB / 1.024 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/1.347, allocations: 7.875 kB / 1.024 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003807/1.347, allocations: 38.78 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/1.347, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/1.347, allocations: 4.031 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/1.347, allocations: 0 / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/1.347, allocations: 4 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006708/1.348, allocations: 322 kB / 1.024 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009658/1.349, allocations: 0.7504 MB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001024/1.349, allocations: 100.4 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.893e-05/1.349, allocations: 4 kB / 1.025 GB, free: 12.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/1.349, allocations: 20.05 kB / 1.025 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.891e-05/1.35, allocations: 7.984 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.098e-05/1.35, allocations: 11.23 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002351/1.35, allocations: 156.5 kB / 1.025 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002268/1.352, allocations: 75.91 kB / 1.025 GB, free: 12.15 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.0001998/1.352, allocations: 103.2 kB / 1.026 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005984/1.353, allocations: 180 kB / 1.026 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.353, allocations: 0 / 1.026 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/1.353, allocations: 59.94 kB / 1.026 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005407/1.354, allocations: 38.7 kB / 1.026 GB, free: 11.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/1.355, allocations: 306.9 kB / 1.026 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/1.355, allocations: 0.7688 MB / 1.027 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of SimCode: time 1.011e-06/1.355, allocations: 4 kB / 1.027 GB, free: 10.78 MB / 0.6511 GB