Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.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.Generic.SetPoints.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") translateModel(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator") [: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.366/1.366, allocations: 289.8 MB / 297.1 MB, free: 6.598 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.001107/0.001107, allocations: 173.3 kB / 366.3 MB, free: 1.914 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.089/1.089, allocations: 205.1 MB / 0.6256 GB, free: 5.848 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.0008213/0.0008212, allocations: 90.19 kB / 0.7395 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.407e-05/1.419e-05, allocations: 0 / 0.859 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4366/0.4366, allocations: 116.3 MB / 0.9726 GB, free: 68.48 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.5777, allocations: 139.5 MB / 1.109 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001563/0.5779, allocations: 71.95 kB / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02538/0.6033, allocations: 13.32 MB / 1.122 GB, free: 11.55 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.376e-05/0.6033, allocations: 47.94 kB / 1.122 GB, free: 11.5 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.001902/0.6053, allocations: 1.405 MB / 1.123 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.6053, allocations: 13.66 kB / 1.123 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003179/0.6056, allocations: 201.5 kB / 1.124 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001292/0.6069, allocations: 0.8512 MB / 1.124 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.993e-05/0.607, allocations: 72 kB / 1.124 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.6072, allocations: 116 kB / 1.125 GB, free: 8.754 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002033/0.6092, allocations: 1.523 MB / 1.126 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003145/0.6124, allocations: 2.598 MB / 1.129 GB, free: 4.348 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.082e-05/0.6124, allocations: 7.938 kB / 1.129 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001351/0.6126, allocations: 11.94 kB / 1.129 GB, free: 4.328 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/0.6126, allocations: 56 kB / 1.129 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006658/0.6193, allocations: 9.548 MB / 1.138 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.579e-05/0.6194, allocations: 177.1 kB / 1.138 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.728e-05/0.6194, allocations: 84.14 kB / 1.138 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.6194, allocations: 75.28 kB / 1.138 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.6195, allocations: 109.8 kB / 1.138 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.733e-06/0.6195, allocations: 0 / 1.138 GB, free: 9.938 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001128/0.6196, allocations: 61.23 kB / 1.138 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/0.6196, allocations: 51.41 kB / 1.139 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005076/0.6202, allocations: 0.517 MB / 1.139 GB, free: 9.285 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.789e-06/0.6202, allocations: 29.7 kB / 1.139 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/0.6205, allocations: 0.6924 MB / 1.14 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-06/0.6205, allocations: 0 / 1.14 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-07/0.6205, allocations: 3.938 kB / 1.14 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.6207, allocations: 354.7 kB / 1.14 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.928e-06/0.6207, allocations: 0 / 1.14 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.709e-06/0.6207, allocations: 0 / 1.14 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.6207, allocations: 75.28 kB / 1.14 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.046e-05/0.6208, allocations: 79.28 kB / 1.14 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 9.33e-05/0.6209, allocations: 57.33 kB / 1.14 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.6209, allocations: 11.94 kB / 1.14 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.382e-05/0.6209, allocations: 75.28 kB / 1.14 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.463e-05/0.621, allocations: 154.5 kB / 1.14 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.19e-05/0.621, allocations: 75.28 kB / 1.141 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.987e-05/0.6211, allocations: 150.6 kB / 1.141 GB, free: 7.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.205e-05/0.6212, allocations: 98.86 kB / 1.141 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.6212, allocations: 75.28 kB / 1.141 GB, free: 7.34 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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.392e-05/0.6213, allocations: 251.5 kB / 1.141 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.463e-05/0.6214, allocations: 136.6 kB / 1.141 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.82e-05/0.6215, allocations: 147.2 kB / 1.141 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.892e-05/0.6215, allocations: 188.2 kB / 1.142 GB, free: 6.602 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.052e-05/0.6216, allocations: 184.2 kB / 1.142 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.957e-05/0.6216, allocations: 180.2 kB / 1.142 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007706/0.6224, allocations: 0.9525 MB / 1.143 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-05/0.6224, allocations: 101 kB / 1.143 GB, free: 5.121 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.978e-05/0.6225, allocations: 109.2 kB / 1.143 GB, free: 5.008 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-05/0.6225, allocations: 184.3 kB / 1.143 GB, free: 4.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.218e-05/0.6226, allocations: 184.3 kB / 1.143 GB, free: 4.633 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.359e-05/0.6226, allocations: 180.2 kB / 1.144 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-05/0.6227, allocations: 176.3 kB / 1.144 GB, free: 4.27 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001225/0.6228, allocations: 343.3 kB / 1.144 GB, free: 3.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.587e-05/0.6229, allocations: 201.7 kB / 1.144 GB, free: 3.688 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.915e-05/0.623, allocations: 180.2 kB / 1.144 GB, free: 3.504 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.022e-05/0.6231, allocations: 112.9 kB / 1.145 GB, free: 3.387 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.6231, allocations: 176.3 kB / 1.145 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.518e-05/0.6231, allocations: 101 kB / 1.145 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002335/0.6234, allocations: 295.2 kB / 1.145 GB, free: 2.812 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004666/0.6239, allocations: 198.8 kB / 1.145 GB, free: 2.617 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001158/0.624, allocations: 174.5 kB / 1.145 GB, free: 2.438 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 4.998e-05/0.624, allocations: 7.984 kB / 1.145 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.624, allocations: 0 / 1.145 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.6241, allocations: 1.594 kB / 1.145 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.6244, allocations: 0.5435 MB / 1.146 GB, free: 1.879 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007243/0.6317, allocations: 1.713 MB / 1.148 GB, free: 124 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/0.6327, allocations: 1.454 MB / 1.149 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of SimCode: time 3.91e-07/0.6327, allocations: 0 / 1.149 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of Templates: time 0.005577/0.6383, allocations: 1.169 MB / 1.15 GB, free: 13.49 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.makefile (rm -f Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & ./Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1)