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.ExhaustDamper.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.ExhaustDamper,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_SetPoints_Validation_ExhaustDamper",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.366/2.366, allocations: 248.6 MB / 255.9 MB, free: 7.195 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.002716/0.002715, allocations: 180.3 kB / 315.1 MB, free: 4.246 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.96/1.96, allocations: 205.1 MB / 0.5658 GB, free: 360 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.566 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5076/0.5089, allocations: 112.4 MB / 0.7798 GB, free: 103.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2266/0.7356, allocations: 106.3 MB / 0.8835 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7156/1.451, allocations: 135 MB / 1.015 GB, free: 5.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/1.452, allocations: 74.95 kB / 1.015 GB, free: 5.059 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.05791/1.51, allocations: 13.87 MB / 1.029 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.123e-05/1.51, allocations: 12 kB / 1.029 GB, free: 9.562 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/1.51, allocations: 82.97 kB / 1.029 GB, free: 9.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/1.511, allocations: 481.6 kB / 1.03 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/1.511, allocations: 110.4 kB / 1.03 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.511, allocations: 36 kB / 1.03 GB, free: 8.898 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001416/1.513, allocations: 388.5 kB / 1.03 GB, free: 8.684 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001445/1.514, allocations: 0.5056 MB / 1.031 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/1.514, allocations: 0 / 1.031 GB, free: 8.312 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/1.514, allocations: 3.906 kB / 1.031 GB, free: 8.309 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/1.515, allocations: 16 kB / 1.031 GB, free: 8.293 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005528/1.52, allocations: 1.902 MB / 1.032 GB, free: 6.812 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/1.522, allocations: 465.4 kB / 1.033 GB, free: 6.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005789/1.523, allocations: 184.5 kB / 1.033 GB, free: 6.395 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.063e-05/1.523, allocations: 4.375 kB / 1.033 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000616/1.523, allocations: 222.5 kB / 1.033 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=49): time 4.068e-06/1.523, allocations: 0 / 1.033 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49): time 0.001261/1.525, allocations: 385.8 kB / 1.034 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.525, allocations: 137 kB / 1.034 GB, free: 5.789 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008393/1.526, allocations: 377.1 kB / 1.034 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001157/1.526, allocations: 29.7 kB / 1.034 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002587/1.526, allocations: 256.1 kB / 1.034 GB, free: 5.242 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.000217/1.526, allocations: 152.6 kB / 1.035 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.186e-05/1.526, allocations: 0 / 1.035 GB, free: 5.109 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002408/1.527, allocations: 365 kB / 1.035 GB, free: 4.766 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004894/1.527, allocations: 148 kB / 1.035 GB, free: 4.664 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/1.528, allocations: 224.9 kB / 1.035 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004942/1.528, allocations: 167.8 kB / 1.035 GB, free: 4.395 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.528, allocations: 7.938 kB / 1.035 GB, free: 4.387 MB / 0.6511 GB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001419/1.53, allocations: 434.6 kB / 1.036 GB, free: 4.078 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002129/1.53, allocations: 362.2 kB / 1.036 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/1.53, allocations: 12 kB / 1.036 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.53, allocations: 0 / 1.036 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/1.531, allocations: 119.4 kB / 1.036 GB, free: 3.578 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/1.531, allocations: 4 kB / 1.036 GB, free: 3.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008415/1.532, allocations: 79.64 kB / 1.036 GB, free: 3.496 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/1.532, allocations: 26.11 kB / 1.036 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/1.532, allocations: 4 kB / 1.036 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/1.533, allocations: 324.7 kB / 1.037 GB, free: 3.266 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.908e-06/1.533, allocations: 3.984 kB / 1.037 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.484e-05/1.533, allocations: 4 kB / 1.037 GB, free: 3.258 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008316/1.534, allocations: 91.47 kB / 1.037 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/1.534, allocations: 7.906 kB / 1.037 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006937/1.535, allocations: 67.64 kB / 1.037 GB, free: 3.098 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.207e-05/1.535, allocations: 18 kB / 1.037 GB, free: 3.086 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.exhDamPos.movMea.mode,exhDamPos.movMea.mode,$whenCondition2,$PRE.exhDamPos1.movMea.mode,exhDamPos1.movMea.mode,$whenCondition3,$PRE.exhDamPos2.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 61 * 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.0002623/1.535, allocations: 109.6 kB / 1.037 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/1.535, allocations: 55.28 kB / 1.037 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/1.536, allocations: 61.03 kB / 1.037 GB, free: 2.879 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/1.536, allocations: 7.906 kB / 1.037 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.536, allocations: 0 / 1.037 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/1.536, allocations: 0 / 1.037 GB, free: 2.871 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/1.537, allocations: 0.5784 MB / 1.038 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.537, allocations: 4 kB / 1.038 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00106/1.538, allocations: 99.25 kB / 1.038 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.538, allocations: 8 kB / 1.038 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.192e-05/1.538, allocations: 0 / 1.038 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/1.538, allocations: 4 kB / 1.038 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/1.538, allocations: 3.938 kB / 1.038 GB, free: 2.293 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001781/1.54, allocations: 0.6213 MB / 1.038 GB, free: 1.875 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002481/1.542, allocations: 1.221 MB / 1.04 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002188/1.543, allocations: 127.4 kB / 1.04 GB, free: 0.8203 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.543, allocations: 7.312 kB / 1.04 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006964/1.543, allocations: 47.95 kB / 1.04 GB, free: 0.7695 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/1.544, allocations: 27.27 kB / 1.04 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.787e-05/1.544, allocations: 22.75 kB / 1.04 GB, free: 0.7266 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005662/1.544, allocations: 288.2 kB / 1.04 GB, free: 0.5195 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002692/1.547, allocations: 210.8 kB / 1.04 GB, free: 320 kB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (exhDamPos.movMea.mu,exhDamPos1.movMea.mu,exhDamPos2.movMea.mu) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,exhDamPos.movMea.mode,exhDamPos1.movMea.mode,exhDamPos2.movMea.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002695/1.547, allocations: 114.5 kB / 1.04 GB, free: 200 kB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001732/1.549, allocations: 0.5723 MB / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.549, allocations: 0 / 1.041 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0005383/1.55, allocations: 187.2 kB / 1.041 GB, free: 15.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/1.551, allocations: 124.3 kB / 1.041 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/1.554, allocations: 0.7701 MB / 1.042 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001124/1.555, allocations: 0.9668 MB / 1.043 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of SimCode: time 1.122e-06/1.555, allocations: 0 / 1.043 GB, free: 13.92 MB / 0.6667 GB