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.SingleZone.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.SingleZone.VAV.SetPoints.Validation.ExhaustDamper,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_SingleZone_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.214/2.214, 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.001603/0.001603, allocations: 190.8 kB / 315.1 MB, free: 4.301 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.981/1.981, allocations: 205.1 MB / 0.5658 GB, free: 336 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.001238/0.001238, allocations: 91.28 kB / 0.67 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4634/0.4647, allocations: 112.4 MB / 0.7798 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.6653, allocations: 106.2 MB / 0.8835 GB, free: 13.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7241/1.389, allocations: 132.5 MB / 1.013 GB, free: 7.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/1.39, allocations: 74.31 kB / 1.013 GB, free: 7.676 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.01102/1.401, allocations: 1.956 MB / 1.015 GB, free: 5.926 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 8.317e-05/1.401, allocations: 11.98 kB / 1.015 GB, free: 5.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/1.401, allocations: 19.8 kB / 1.015 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005071/1.402, allocations: 216 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/1.402, allocations: 4 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.579e-05/1.402, allocations: 8.844 kB / 1.015 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004028/1.402, allocations: 75.78 kB / 1.015 GB, free: 5.602 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007197/1.403, allocations: 99.98 kB / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/1.403, allocations: 0 / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.827e-05/1.403, allocations: 0 / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.932e-05/1.403, allocations: 0 / 1.015 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002268/1.405, allocations: 476.8 kB / 1.016 GB, free: 5.086 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/1.406, allocations: 60.3 kB / 1.016 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/1.406, allocations: 27.48 kB / 1.016 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.879e-05/1.406, allocations: 6.625 kB / 1.016 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.578e-05/1.406, allocations: 38.69 kB / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 3.537e-06/1.406, allocations: 0 / 1.016 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0009982/1.407, allocations: 82.95 kB / 1.016 GB, free: 4.891 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001096/1.407, allocations: 51.41 kB / 1.016 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004412/1.408, allocations: 141.6 kB / 1.016 GB, free: 4.699 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/1.408, allocations: 29.7 kB / 1.016 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.408, allocations: 114.3 kB / 1.016 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.67e-05/1.408, allocations: 19.05 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/1.408, allocations: 0 / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002055/1.408, allocations: 318 kB / 1.017 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/1.408, allocations: 23.5 kB / 1.017 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/1.409, allocations: 36.08 kB / 1.017 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/1.409, allocations: 29.25 kB / 1.017 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.409, allocations: 3.906 kB / 1.017 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004139/1.409, allocations: 87.62 kB / 1.017 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.243e-05/1.409, allocations: 8 kB / 1.017 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.926e-06/1.409, allocations: 0 / 1.017 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.409, allocations: 0 / 1.017 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000329/1.41, allocations: 23.92 kB / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/1.41, allocations: 0.7031 kB / 1.017 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000416/1.41, allocations: 19.98 kB / 1.017 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/1.41, allocations: 4 kB / 1.017 GB, free: 4.031 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($PRE.exhDamPos.greThr.y,exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0002928/1.411, allocations: 115.7 kB / 1.017 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003514/1.411, allocations: 8.125 kB / 1.017 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006012/1.412, allocations: 95.48 kB / 1.017 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.412, allocations: 8.219 kB / 1.017 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.412, allocations: 4 kB / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/1.412, allocations: 0 / 1.017 GB, free: 3.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009344/1.413, allocations: 368.5 kB / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/1.413, allocations: 0 / 1.017 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002649/1.413, allocations: 20.86 kB / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.413, allocations: 0 / 1.017 GB, free: 3.434 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/1.413, allocations: 7.938 kB / 1.017 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.865e-06/1.413, allocations: 3.938 kB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.478e-05/1.413, allocations: 4 kB / 1.017 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005685/1.414, allocations: 192.6 kB / 1.018 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001224/1.415, allocations: 0.5703 MB / 1.018 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/1.415, allocations: 85.02 kB / 1.018 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.791e-05/1.415, allocations: 7.906 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004295/1.416, allocations: 23.97 kB / 1.018 GB, free: 2.512 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/1.416, allocations: 15.61 kB / 1.018 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/1.416, allocations: 4 kB / 1.018 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001694/1.416, allocations: 108.9 kB / 1.018 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003323/1.419, allocations: 19.91 kB / 1.018 GB, free: 2.379 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (exhDamPos.greThr.y,exhDamPos.and2.y) * Number of discrete states: 1 (exhDamPos.greThr.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0003233/1.42, allocations: 102.1 kB / 1.019 GB, free: 2.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003996/1.42, allocations: 66.48 kB / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.42, allocations: 0 / 1.019 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001523/1.42, allocations: 30.19 kB / 1.019 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001523/1.422, allocations: 24.72 kB / 1.019 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001035/1.423, allocations: 149.2 kB / 1.019 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007195/1.424, allocations: 0.7348 MB / 1.02 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of SimCode: time 1.763e-06/1.424, allocations: 0 / 1.02 GB, free: 1.273 MB / 0.6355 GB