Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_7_0_0_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",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.353/2.353, allocations: 248.6 MB / 255.9 MB, free: 7.18 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.00244/0.00244, allocations: 180.8 kB / 315.1 MB, free: 4.285 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.969/1.969, allocations: 205.1 MB / 0.5658 GB, free: 392 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.001294/0.001294, allocations: 91.33 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4715/0.4729, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.698, allocations: 106.2 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6891/1.387, allocations: 137.1 MB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/1.388, allocations: 89.06 kB / 1.017 GB, free: 3.09 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.03042/1.418, allocations: 6.46 MB / 1.024 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.355e-05/1.418, allocations: 8 kB / 1.024 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/1.418, allocations: 43.44 kB / 1.024 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008854/1.419, allocations: 349.5 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/1.419, allocations: 11.98 kB / 1.024 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.941e-05/1.419, allocations: 15.91 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005348/1.42, allocations: 139.7 kB / 1.024 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/1.421, allocations: 240.6 kB / 1.025 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/1.421, allocations: 2.516 kB / 1.025 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.529e-05/1.421, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/1.421, allocations: 4 kB / 1.025 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/1.423, allocations: 0.938 MB / 1.025 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007465/1.424, allocations: 174.3 kB / 1.026 GB, free: 12.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002144/1.424, allocations: 86.66 kB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/1.424, allocations: 7.984 kB / 1.026 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/1.424, allocations: 33.94 kB / 1.026 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.915e-06/1.424, allocations: 0 / 1.026 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0005873/1.425, allocations: 180.1 kB / 1.026 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/1.425, allocations: 154.2 kB / 1.026 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004707/1.425, allocations: 262.2 kB / 1.026 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.684e-05/1.425, allocations: 25.7 kB / 1.026 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.426, allocations: 156.2 kB / 1.026 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.06e-05/1.426, allocations: 48.73 kB / 1.027 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.726e-05/1.426, allocations: 0 / 1.027 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001622/1.426, allocations: 344.5 kB / 1.027 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001553/1.426, allocations: 46.56 kB / 1.027 GB, free: 10.84 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/1.426, allocations: 98.47 kB / 1.027 GB, free: 10.76 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001702/1.426, allocations: 51.48 kB / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.426, allocations: 0 / 1.027 GB, free: 10.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005037/1.427, allocations: 172 kB / 1.027 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/1.427, allocations: 10.06 kB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.427, allocations: 4 kB / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.427, allocations: 0 / 1.027 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/1.428, allocations: 59.52 kB / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/1.428, allocations: 0 / 1.027 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004263/1.428, allocations: 35.89 kB / 1.027 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/1.428, allocations: 7.984 kB / 1.027 GB, free: 10.49 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001256/1.428, allocations: 101 kB / 1.027 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/1.428, allocations: 35.53 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001458/1.428, allocations: 32.3 kB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/1.428, allocations: 4 kB / 1.027 GB, free: 10.33 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.429, allocations: 7.938 kB / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.429, allocations: 0 / 1.027 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007373/1.429, allocations: 340.9 kB / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.429, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/1.43, allocations: 51.91 kB / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/1.43, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.43, allocations: 0 / 1.028 GB, free: 9.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/1.43, allocations: 4 kB / 1.028 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/1.43, allocations: 0 / 1.028 GB, free: 9.969 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005279/1.43, allocations: 279.2 kB / 1.028 GB, free: 9.73 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007739/1.431, allocations: 0.6489 MB / 1.029 GB, free: 9.109 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003057/1.432, allocations: 133.9 kB / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001134/1.432, allocations: 0 / 1.029 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004908/1.432, allocations: 35.97 kB / 1.029 GB, free: 8.938 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.772e-05/1.432, allocations: 11.73 kB / 1.029 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/1.432, allocations: 4 kB / 1.029 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003647/1.433, allocations: 212.3 kB / 1.029 GB, free: 8.762 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001868/1.435, allocations: 47.84 kB / 1.029 GB, free: 8.715 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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.0001934/1.435, allocations: 103.2 kB / 1.029 GB, free: 8.605 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004686/1.435, allocations: 131.7 kB / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.435, allocations: 0 / 1.029 GB, free: 8.527 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/1.435, allocations: 73.92 kB / 1.029 GB, free: 8.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/1.436, allocations: 75.08 kB / 1.03 GB, free: 8.418 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001248/1.438, allocations: 339 kB / 1.03 GB, free: 8.105 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007094/1.438, allocations: 0.8195 MB / 1.031 GB, free: 7.254 MB / 0.6511 GB Notification: Performance of SimCode: time 1.143e-06/1.438, allocations: 0 / 1.031 GB, free: 7.254 MB / 0.6511 GB