Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_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.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009514/0.0009517, allocations: 177.3 kB / 361.1 MB, free: 7.121 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.031/1.031, allocations: 205.1 MB / 0.6195 GB, free: 10.43 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.0007774/0.0007774, allocations: 97.81 kB / 0.7326 GB, free: 44.28 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.243e-06/7.334e-06, allocations: 4 kB / 0.8512 GB, free: 2.898 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4262/0.4262, allocations: 115.3 MB / 0.9638 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.5609, allocations: 139.4 MB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001939/0.5611, allocations: 84.53 kB / 1.1 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.01358/0.5747, allocations: 5.582 MB / 1.105 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.535e-05/0.5748, allocations: 16 kB / 1.105 GB, free: 11.13 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.0008878/0.5757, allocations: 0.631 MB / 1.106 GB, free: 10.45 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5757, allocations: 12.52 kB / 1.106 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.5758, allocations: 51.44 kB / 1.106 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.5764, allocations: 374.6 kB / 1.106 GB, free: 9.984 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.5765, allocations: 13.69 kB / 1.106 GB, free: 9.973 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.073e-05/0.5765, allocations: 24 kB / 1.106 GB, free: 9.949 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000474/0.577, allocations: 261.9 kB / 1.107 GB, free: 9.691 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005255/0.5776, allocations: 343.8 kB / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/0.5776, allocations: 0 / 1.107 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/0.5776, allocations: 3.984 kB / 1.107 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.5776, allocations: 8 kB / 1.107 GB, free: 9.332 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.5794, allocations: 1.194 MB / 1.108 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004618/0.5799, allocations: 239.3 kB / 1.108 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/0.5801, allocations: 100.9 kB / 1.109 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.995e-05/0.5801, allocations: 7.984 kB / 1.109 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002137/0.5803, allocations: 166.8 kB / 1.109 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=25): time 1.352e-06/0.5803, allocations: 0 / 1.109 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of matching and sorting (n=25): time 0.0003913/0.5807, allocations: 213.2 kB / 1.109 GB, free: 7.344 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.5808, allocations: 163.9 kB / 1.109 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.5811, allocations: 243.4 kB / 1.109 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5811, allocations: 29.7 kB / 1.109 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/0.5812, allocations: 204.1 kB / 1.11 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.5813, allocations: 82.88 kB / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.149e-05/0.5813, allocations: 0 / 1.11 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5814, allocations: 342.7 kB / 1.11 GB, free: 6.242 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.5816, allocations: 76.8 kB / 1.11 GB, free: 6.168 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.5817, allocations: 138.8 kB / 1.11 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.5819, allocations: 95.91 kB / 1.11 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5819, allocations: 0 / 1.11 GB, free: 5.914 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003755/0.5823, allocations: 246.1 kB / 1.11 GB, free: 5.668 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001029/0.5824, allocations: 282.9 kB / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5824, allocations: 0 / 1.111 GB, free: 5.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.5824, allocations: 4 kB / 1.111 GB, free: 5.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.5827, allocations: 57.59 kB / 1.111 GB, free: 5.312 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.5827, allocations: 11.84 kB / 1.111 GB, free: 5.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.583, allocations: 51.72 kB / 1.111 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.912e-05/0.583, allocations: 13.41 kB / 1.111 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 7.224e-06/0.583, allocations: 4 kB / 1.111 GB, free: 5.238 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003049/0.5833, allocations: 188.2 kB / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.5833, allocations: 0 / 1.111 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-06/0.5833, allocations: 3.938 kB / 1.111 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.5836, allocations: 55.97 kB / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.325e-06/0.5836, allocations: 0 / 1.111 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001939/0.5838, allocations: 43.88 kB / 1.111 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.739e-05/0.5838, allocations: 8 kB / 1.111 GB, free: 4.945 MB / 0.7136 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 9.205e-05/0.5839, allocations: 120.8 kB / 1.111 GB, free: 4.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.425e-05/0.584, allocations: 31.56 kB / 1.111 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000395/0.5844, allocations: 243.4 kB / 1.112 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.5844, allocations: 4 kB / 1.112 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5844, allocations: 1.562 kB / 1.112 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.5844, allocations: 0 / 1.112 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.5853, allocations: 0.7316 MB / 1.112 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.5853, allocations: 0 / 1.112 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.5855, allocations: 63.91 kB / 1.112 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.5856, allocations: 0 / 1.112 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.5856, allocations: 4 kB / 1.112 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.5856, allocations: 8 kB / 1.112 GB, free: 3.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5856, allocations: 4 kB / 1.112 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005442/0.5861, allocations: 484.9 kB / 1.113 GB, free: 3.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 6.578e-05/0.5862, allocations: 112.7 kB / 1.113 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.5863, allocations: 4.75 kB / 1.113 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.5865, allocations: 32.03 kB / 1.113 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.958e-05/0.5866, allocations: 19.89 kB / 1.113 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.776e-05/0.5866, allocations: 11.98 kB / 1.113 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0001739/0.5868, allocations: 195.1 kB / 1.113 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004372/0.5872, allocations: 131.2 kB / 1.113 GB, free: 2.652 MB / 0.7136 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.0001531/0.5874, allocations: 126.9 kB / 1.113 GB, free: 2.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005018/0.5879, allocations: 313.7 kB / 1.114 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.115e-06/0.5879, allocations: 4.75 kB / 1.114 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001489/0.5881, allocations: 101.9 kB / 1.114 GB, free: 2.113 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.5885, allocations: 55.7 kB / 1.114 GB, free: 2.059 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/0.5895, allocations: 488.4 kB / 1.114 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.5899, allocations: 0.8423 MB / 1.115 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5899, allocations: 0 / 1.115 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of Templates: time 0.008385/0.5983, allocations: 4.485 MB / 1.12 GB, free: 12.32 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.SingleZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.pipe 2>&1)