Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve.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.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.SetPoints.Validation.SupplySignals_Valve,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_SupplySignals_Valve",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.652/2.652, allocations: 248.6 MB / 255.9 MB, free: 7.094 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.002249/0.002249, allocations: 187.7 kB / 315.1 MB, free: 4.262 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.947/1.947, allocations: 205.1 MB / 0.5658 GB, free: 364 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.001334/0.001333, allocations: 91.25 kB / 0.67 GB, free: 5.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4982/0.4995, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.7179, allocations: 106.2 MB / 0.8835 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7/1.418, allocations: 135.7 MB / 1.016 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004876/1.419, allocations: 77.5 kB / 1.016 GB, free: 4.434 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.05231/1.471, allocations: 12.91 MB / 1.029 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/1.471, allocations: 12 kB / 1.029 GB, free: 9.57 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002742/1.471, allocations: 90.88 kB / 1.029 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001205/1.472, allocations: 0.5086 MB / 1.029 GB, free: 9.035 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/1.473, allocations: 28 kB / 1.029 GB, free: 9.008 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001427/1.473, allocations: 40 kB / 1.029 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001544/1.474, allocations: 463.8 kB / 1.03 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001662/1.476, allocations: 0.5769 MB / 1.03 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/1.476, allocations: 0 / 1.03 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/1.476, allocations: 0 / 1.03 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/1.476, allocations: 16 kB / 1.03 GB, free: 8.273 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005414/1.482, allocations: 2.039 MB / 1.032 GB, free: 6.719 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00172/1.483, allocations: 0.5306 MB / 1.033 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/1.484, allocations: 206.3 kB / 1.033 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.763e-05/1.484, allocations: 12.42 kB / 1.033 GB, free: 6.184 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006533/1.485, allocations: 273.1 kB / 1.033 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=51): time 3.146e-06/1.485, allocations: 4 kB / 1.033 GB, free: 5.969 MB / 0.6511 GB Notification: Performance of matching and sorting (n=51): time 0.001278/1.486, allocations: 395.4 kB / 1.034 GB, free: 5.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/1.486, allocations: 214 kB / 1.034 GB, free: 5.422 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008647/1.487, allocations: 391.4 kB / 1.034 GB, free: 5.125 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.844e-05/1.487, allocations: 32.64 kB / 1.034 GB, free: 5.09 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003118/1.487, allocations: 291.6 kB / 1.035 GB, free: 4.832 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/1.488, allocations: 149.9 kB / 1.035 GB, free: 4.703 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/1.488, allocations: 4 kB / 1.035 GB, free: 4.699 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002313/1.488, allocations: 367.8 kB / 1.035 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004526/1.488, allocations: 144.9 kB / 1.035 GB, free: 4.277 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005734/1.489, allocations: 242.8 kB / 1.036 GB, free: 4.086 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004954/1.49, allocations: 170 kB / 1.036 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/1.49, allocations: 0 / 1.036 GB, free: 3.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001345/1.491, allocations: 450.2 kB / 1.036 GB, free: 3.672 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/1.491, allocations: 275.6 kB / 1.036 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.491, allocations: 0 / 1.036 GB, free: 3.387 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/1.491, allocations: 4 kB / 1.036 GB, free: 3.383 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/1.492, allocations: 115.3 kB / 1.037 GB, free: 3.273 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/1.492, allocations: 7.938 kB / 1.037 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008619/1.493, allocations: 91.53 kB / 1.037 GB, free: 3.176 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.616e-05/1.493, allocations: 15.81 kB / 1.037 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/1.493, allocations: 6.656 kB / 1.037 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001037/1.494, allocations: 350.4 kB / 1.037 GB, free: 2.938 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/1.494, allocations: 3.938 kB / 1.037 GB, free: 2.934 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.494, allocations: 4 kB / 1.037 GB, free: 2.93 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000859/1.495, allocations: 99.77 kB / 1.037 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/1.495, allocations: 4 kB / 1.037 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007287/1.496, allocations: 71.64 kB / 1.037 GB, free: 2.762 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.855e-05/1.496, allocations: 15.25 kB / 1.037 GB, free: 2.75 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition3,$whenCondition1,$whenCondition2,supFanSta.y,$PRE.supFanSta.pulseStart,supFanSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 60 * 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.0002244/1.496, allocations: 124.9 kB / 1.037 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.496, allocations: 51.34 kB / 1.037 GB, free: 2.574 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/1.498, allocations: 421 kB / 1.038 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/1.498, allocations: 4 kB / 1.038 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.498, allocations: 0 / 1.038 GB, free: 2.285 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/1.498, allocations: 3.984 kB / 1.038 GB, free: 2.281 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002922/1.501, allocations: 1.205 MB / 1.039 GB, free: 1.371 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.254e-05/1.501, allocations: 8 kB / 1.039 GB, free: 1.363 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009266/1.502, allocations: 107.8 kB / 1.039 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.718e-05/1.502, allocations: 11.92 kB / 1.039 GB, free: 1.25 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.543e-05/1.502, allocations: 4 kB / 1.039 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.811e-06/1.502, allocations: 0 / 1.039 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.053e-06/1.502, allocations: 4 kB / 1.039 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001884/1.504, allocations: 0.7773 MB / 1.04 GB, free: 0.6367 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002496/1.506, allocations: 1.372 MB / 1.041 GB, free: 15.55 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/1.507, allocations: 139 kB / 1.041 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/1.507, allocations: 0 / 1.041 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007723/1.507, allocations: 56.02 kB / 1.041 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/1.508, allocations: 43.47 kB / 1.041 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/1.508, allocations: 10.94 kB / 1.041 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0006008/1.508, allocations: 299.9 kB / 1.042 GB, free: 15.09 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.002738/1.511, allocations: 238.6 kB / 1.042 GB, free: 14.86 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (supSig.conTSup.I.y,supSig1.conTSup.I.y) * Number of discrete variables: 5 (supFanSta.y,$whenCondition3,$whenCondition2,$whenCondition1,supFanSta.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0003168/1.511, allocations: 115.1 kB / 1.042 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001707/1.513, allocations: 0.5916 MB / 1.043 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/1.513, allocations: 8 kB / 1.043 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005436/1.514, allocations: 192.4 kB / 1.043 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001323/1.515, allocations: 125.8 kB / 1.043 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003031/1.518, allocations: 0.8373 MB / 1.044 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001178/1.519, allocations: 0.9833 MB / 1.045 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of SimCode: time 1.413e-06/1.519, allocations: 0 / 1.045 GB, free: 12.35 MB / 0.6667 GB