Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup") [: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 8.1.4-maint.8.1.x/package.mo): time 1.343/1.343, allocations: 289.8 MB / 297.1 MB, free: 6.633 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009132/0.0009132, allocations: 189.2 kB / 366.3 MB, free: 1.941 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.039/1.039, allocations: 205.2 MB / 0.6256 GB, free: 5.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 89.19 kB / 0.7396 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.504e-06, allocations: 4 kB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4394/0.4394, allocations: 116.3 MB / 0.9727 GB, free: 68.53 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.5829, allocations: 140.3 MB / 1.11 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002119/0.5831, allocations: 84.39 kB / 1.11 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.01347/0.5966, allocations: 5.575 MB / 1.115 GB, free: 2.531 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.5967, allocations: 12 kB / 1.115 GB, free: 2.52 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.000924/0.5976, allocations: 0.6388 MB / 1.116 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5976, allocations: 8.031 kB / 1.116 GB, free: 1.828 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001361/0.5978, allocations: 51.44 kB / 1.116 GB, free: 1.777 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006245/0.5984, allocations: 378.6 kB / 1.116 GB, free: 1.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.5985, allocations: 12 kB / 1.116 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.252e-05/0.5985, allocations: 24 kB / 1.116 GB, free: 1.336 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004849/0.599, allocations: 261.9 kB / 1.117 GB, free: 1.078 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005325/0.5995, allocations: 347.8 kB / 1.117 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.5996, allocations: 4 kB / 1.117 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.114e-05/0.5996, allocations: 0 / 1.117 GB, free: 0.7227 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.5996, allocations: 8 kB / 1.117 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001789/0.6014, allocations: 1.199 MB / 1.118 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004851/0.6019, allocations: 227.7 kB / 1.118 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.6021, allocations: 112.8 kB / 1.118 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.272e-05/0.6021, allocations: 8 kB / 1.118 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002175/0.6024, allocations: 162.8 kB / 1.119 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 1.783e-06/0.6024, allocations: 0 / 1.119 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.0003773/0.6027, allocations: 215.1 kB / 1.119 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.977e-05/0.6028, allocations: 158.2 kB / 1.119 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000278/0.6031, allocations: 251.4 kB / 1.119 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.6032, allocations: 29.7 kB / 1.119 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.6033, allocations: 204.1 kB / 1.119 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.046e-05/0.6034, allocations: 74.81 kB / 1.119 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.239e-05/0.6034, allocations: 0 / 1.119 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001512/0.6035, allocations: 342.7 kB / 1.12 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.6037, allocations: 76 kB / 1.12 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.6039, allocations: 148.8 kB / 1.12 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.604, allocations: 85.89 kB / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.604, allocations: 0 / 1.12 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003898/0.6044, allocations: 245.9 kB / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001352/0.6046, allocations: 283 kB / 1.121 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.6046, allocations: 3.938 kB / 1.121 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.6046, allocations: 4 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/0.6049, allocations: 59.97 kB / 1.121 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.6049, allocations: 4 kB / 1.121 GB, free: 12.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002333/0.6052, allocations: 47.72 kB / 1.121 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/0.6052, allocations: 15.94 kB / 1.121 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.722e-06/0.6052, allocations: 4 kB / 1.121 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003169/0.6055, allocations: 184 kB / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-06/0.6055, allocations: 0 / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.815e-06/0.6056, allocations: 0 / 1.121 GB, free: 12.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002488/0.6058, allocations: 59.97 kB / 1.121 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6058, allocations: 4 kB / 1.121 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.606, allocations: 39.81 kB / 1.121 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.828e-05/0.606, allocations: 12 kB / 1.121 GB, free: 12.33 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001102/0.6062, allocations: 116.8 kB / 1.121 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/0.6062, allocations: 27.62 kB / 1.121 GB, free: 12.18 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.6067, allocations: 247.4 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.6067, allocations: 4.75 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6067, allocations: 0 / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.6067, allocations: 4 kB / 1.121 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009517/0.6076, allocations: 0.7288 MB / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6077, allocations: 0 / 1.122 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002725/0.6079, allocations: 68 kB / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-06/0.608, allocations: 0 / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.608, allocations: 4 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.608, allocations: 8.516 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.608, allocations: 4 kB / 1.122 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005889/0.6086, allocations: 487.5 kB / 1.123 GB, free: 10.55 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.527e-05/0.6087, allocations: 112.7 kB / 1.123 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.6087, allocations: 0 / 1.123 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002285/0.609, allocations: 36.03 kB / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.887e-05/0.609, allocations: 20.55 kB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.609, allocations: 7.984 kB / 1.123 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001683/0.6092, allocations: 199.1 kB / 1.123 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004136/0.6096, allocations: 139.2 kB / 1.123 GB, free: 10.03 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (mod.uTSup.I.y) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 27 * 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.0001539/0.6098, allocations: 111.2 kB / 1.123 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.6103, allocations: 310.2 kB / 1.124 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.6103, allocations: 4 kB / 1.124 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.6104, allocations: 105 kB / 1.124 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.6108, allocations: 53.94 kB / 1.124 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009691/0.6118, allocations: 493.6 kB / 1.124 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/0.6123, allocations: 0.8396 MB / 1.125 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/0.6123, allocations: 0 / 1.125 GB, free: 8.062 MB / 0.7292 GB Notification: Performance of Templates: time 0.008282/0.6206, allocations: 4.488 MB / 1.129 GB, free: 3.684 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1)