Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.VAVReheat.Controls.Examples.RoomVAV.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.VAVReheat.Controls.Examples.RoomVAV,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_VAVReheat_Controls_Examples_RoomVAV",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.123/2.123, allocations: 248.6 MB / 255.9 MB, free: 1.125 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001704/0.001704, allocations: 176.5 kB / 315.1 MB, free: 9.566 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.1 MB / 0.5658 GB, free: 14.03 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001301/0.0013, allocations: 87.14 kB / 0.6699 GB, free: 51.99 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 0.265/0.2664, allocations: 112.4 MB / 0.7797 GB, free: 10.64 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.5142, allocations: 106.2 MB / 0.8835 GB, free: 292 kB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6047/1.119, allocations: 135.3 MB / 1.016 GB, free: 11.34 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00031/1.119, allocations: 81.78 kB / 1.016 GB, free: 11.26 MB / 0.659 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.04382/1.163, allocations: 9.941 MB / 1.025 GB, free: 1.426 MB / 0.659 GB Notification: Performance of prepare preOptimizeDAE: time 6.275e-05/1.163, allocations: 12 kB / 1.025 GB, free: 1.414 MB / 0.659 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003561/1.164, allocations: 67.16 kB / 1.025 GB, free: 1.348 MB / 0.659 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001505/1.165, allocations: 432.8 kB / 1.026 GB, free: 0.8867 MB / 0.659 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/1.165, allocations: 16 kB / 1.026 GB, free: 0.8711 MB / 0.659 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/1.165, allocations: 24 kB / 1.026 GB, free: 0.8477 MB / 0.659 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001641/1.167, allocations: 298.2 kB / 1.026 GB, free: 0.5586 MB / 0.659 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/1.169, allocations: 416.4 kB / 1.027 GB, free: 124 kB / 0.659 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/1.169, allocations: 3.938 kB / 1.027 GB, free: 120 kB / 0.659 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.337e-05/1.169, allocations: 4 kB / 1.027 GB, free: 116 kB / 0.659 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.443e-05/1.169, allocations: 12 kB / 1.027 GB, free: 104 kB / 0.659 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006944/1.176, allocations: 1.818 MB / 1.028 GB, free: 14.23 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/1.178, allocations: 304.7 kB / 1.029 GB, free: 13.92 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006275/1.178, allocations: 150 kB / 1.029 GB, free: 13.77 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 5.615e-05/1.178, allocations: 5.219 kB / 1.029 GB, free: 13.77 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.124e-05/1.178, allocations: 42.55 kB / 1.029 GB, free: 13.71 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=32): time 4.469e-06/1.178, allocations: 0 / 1.029 GB, free: 13.71 MB / 0.6746 GB Notification: Performance of matching and sorting (n=32): time 0.001301/1.18, allocations: 282.6 kB / 1.029 GB, free: 13.43 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001564/1.18, allocations: 106.8 kB / 1.029 GB, free: 13.3 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009806/1.181, allocations: 333.2 kB / 1.03 GB, free: 12.98 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 7.762e-05/1.181, allocations: 29.69 kB / 1.03 GB, free: 12.94 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002731/1.181, allocations: 224 kB / 1.03 GB, free: 12.72 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002078/1.182, allocations: 110.3 kB / 1.03 GB, free: 12.61 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.8e-05/1.182, allocations: 0 / 1.03 GB, free: 12.61 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 0.0002552/1.182, allocations: 350.8 kB / 1.03 GB, free: 12.26 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004816/1.182, allocations: 100.6 kB / 1.03 GB, free: 12.16 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005788/1.183, allocations: 160.2 kB / 1.031 GB, free: 11.98 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005249/1.184, allocations: 121 kB / 1.031 GB, free: 11.86 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.184, allocations: 0 / 1.031 GB, free: 11.86 MB / 0.6746 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001358/1.185, allocations: 315.1 kB / 1.031 GB, free: 11.55 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002/1.185, allocations: 273.9 kB / 1.031 GB, free: 11.27 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/1.185, allocations: 0 / 1.031 GB, free: 11.27 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.215e-05/1.185, allocations: 4 kB / 1.031 GB, free: 11.26 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/1.186, allocations: 95.81 kB / 1.031 GB, free: 11.17 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/1.186, allocations: 4.547 kB / 1.031 GB, free: 11.16 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005882/1.187, allocations: 55.72 kB / 1.031 GB, free: 11.11 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/1.187, allocations: 8 kB / 1.031 GB, free: 11.1 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.187, allocations: 4 kB / 1.031 GB, free: 11.1 MB / 0.6746 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007567/1.188, allocations: 243.3 kB / 1.032 GB, free: 10.86 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.815e-06/1.188, allocations: 4 kB / 1.032 GB, free: 10.86 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/1.188, allocations: 0 / 1.032 GB, free: 10.86 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006281/1.189, allocations: 67.91 kB / 1.032 GB, free: 10.79 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/1.189, allocations: 5.078 kB / 1.032 GB, free: 10.79 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/1.189, allocations: 43.84 kB / 1.032 GB, free: 10.74 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/1.189, allocations: 13.31 kB / 1.032 GB, free: 10.73 MB / 0.6746 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (vavBoxCon.conCoo.I.trigger_internal,vavBoxCon.conHea.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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.0002088/1.189, allocations: 114.1 kB / 1.032 GB, free: 10.61 MB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/1.19, allocations: 43.44 kB / 1.032 GB, free: 10.57 MB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000989/1.191, allocations: 309.9 kB / 1.032 GB, free: 10.27 MB / 0.6746 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/1.191, allocations: 4 kB / 1.032 GB, free: 10.26 MB / 0.6746 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.16e-05/1.191, allocations: 7.891 kB / 1.032 GB, free: 10.25 MB / 0.6746 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.465e-06/1.191, allocations: 0 / 1.032 GB, free: 10.25 MB / 0.6746 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001877/1.192, allocations: 0.8446 MB / 1.033 GB, free: 9.359 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/1.193, allocations: 0 / 1.033 GB, free: 9.359 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000777/1.193, allocations: 79.98 kB / 1.033 GB, free: 9.285 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.956e-05/1.193, allocations: 5.781 kB / 1.033 GB, free: 9.281 MB / 0.6746 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.76e-05/1.193, allocations: 7.922 kB / 1.033 GB, free: 9.273 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/1.193, allocations: 8 kB / 1.033 GB, free: 9.266 MB / 0.6746 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.193, allocations: 0 / 1.033 GB, free: 9.266 MB / 0.6746 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001357/1.195, allocations: 0.5816 MB / 1.034 GB, free: 8.641 MB / 0.6746 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001918/1.197, allocations: 1.117 MB / 1.035 GB, free: 7.477 MB / 0.6746 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001878/1.197, allocations: 121.3 kB / 1.035 GB, free: 7.34 MB / 0.6746 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/1.197, allocations: 11.89 kB / 1.035 GB, free: 7.328 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006099/1.198, allocations: 40.03 kB / 1.035 GB, free: 7.289 MB / 0.6746 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/1.198, allocations: 15.97 kB / 1.035 GB, free: 7.273 MB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.669e-05/1.198, allocations: 12 kB / 1.035 GB, free: 7.262 MB / 0.6746 GB Notification: Performance of sort global known variables: time 0.000514/1.198, allocations: 259.2 kB / 1.035 GB, free: 7.012 MB / 0.6746 GB Notification: Performance of remove unused functions: time 0.002477/1.201, allocations: 151.1 kB / 1.035 GB, free: 6.863 MB / 0.6746 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (vavBoxCon.conHea.I.y,vavBoxCon.conCoo.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 33 * 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.0002358/1.201, allocations: 107.2 kB / 1.035 GB, free: 6.75 MB / 0.6746 GB Notification: Performance of simCode: created initialization part: time 0.001267/1.202, allocations: 405.9 kB / 1.036 GB, free: 6.352 MB / 0.6746 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/1.202, allocations: 0 / 1.036 GB, free: 6.352 MB / 0.6746 GB Notification: Performance of simCode: created simulation system equations: time 0.0003862/1.203, allocations: 143.9 kB / 1.036 GB, free: 6.211 MB / 0.6746 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009685/1.204, allocations: 97.86 kB / 1.036 GB, free: 6.125 MB / 0.6746 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/1.206, allocations: 0.6063 MB / 1.037 GB, free: 5.48 MB / 0.6746 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009703/1.207, allocations: 0.9068 MB / 1.038 GB, free: 4.547 MB / 0.6746 GB Notification: Performance of SimCode: time 1.703e-06/1.207, allocations: 3.938 kB / 1.038 GB, free: 4.543 MB / 0.6746 GB