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: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",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 8.1.4-maint.8.1.x/package.mo): time 1.412/1.412, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.0009443/0.0009443, allocations: 189.2 kB / 366.3 MB, free: 2 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.056/1.056, allocations: 205.1 MB / 0.6256 GB, free: 5.816 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.000789/0.000789, allocations: 90.61 kB / 0.7395 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.201/0.2018, allocations: 122.5 MB / 0.8591 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4248/0.6266, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.141/0.7676, allocations: 139.5 MB / 1.109 GB, free: 8.957 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001858/0.7678, allocations: 72.67 kB / 1.109 GB, free: 8.887 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: 525 * Number of variables: 525 Notification: Performance of Generate backend data structure: time 0.02805/0.7959, allocations: 14.77 MB / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.796, allocations: 8 kB / 1.123 GB, free: 10.1 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003369/0.7963, allocations: 201.6 kB / 1.124 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/0.7977, allocations: 0.859 MB / 1.124 GB, free: 9 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.583e-05/0.7977, allocations: 68 kB / 1.125 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/0.7979, allocations: 116 kB / 1.125 GB, free: 8.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002198/0.8001, allocations: 1.523 MB / 1.126 GB, free: 7.289 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00326/0.8034, allocations: 2.591 MB / 1.129 GB, free: 4.422 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.44e-05/0.8035, allocations: 11.88 kB / 1.129 GB, free: 4.41 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.8036, allocations: 12 kB / 1.129 GB, free: 4.398 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.8037, allocations: 56 kB / 1.129 GB, free: 4.344 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006871/0.8106, allocations: 9.547 MB / 1.138 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.611e-05/0.8107, allocations: 173.1 kB / 1.138 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.349e-05/0.8107, allocations: 86.11 kB / 1.138 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/0.8108, allocations: 79.22 kB / 1.138 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.992e-05/0.8108, allocations: 105.8 kB / 1.138 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 2.434e-06/0.8108, allocations: 0 / 1.138 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001183/0.8109, allocations: 61.23 kB / 1.139 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.811, allocations: 55.41 kB / 1.139 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006154/0.8116, allocations: 0.5117 MB / 1.139 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.231e-05/0.8116, allocations: 25.7 kB / 1.139 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004677/0.8121, allocations: 0.7003 MB / 1.14 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.8121, allocations: 0 / 1.14 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-06/0.8121, allocations: 0 / 1.14 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8123, allocations: 354.7 kB / 1.14 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.389e-06/0.8123, allocations: 0 / 1.14 GB, free: 8.258 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.867e-06/0.8123, allocations: 4 kB / 1.14 GB, free: 8.254 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.347e-05/0.8123, allocations: 75.28 kB / 1.14 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-05/0.8124, allocations: 75.28 kB / 1.14 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.256e-05/0.8125, allocations: 61.27 kB / 1.14 GB, free: 8.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.8125, allocations: 8 kB / 1.14 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.688e-05/0.8125, allocations: 83.2 kB / 1.14 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.865e-05/0.8126, allocations: 150.6 kB / 1.141 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.668e-05/0.8126, allocations: 79.22 kB / 1.141 GB, free: 7.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.568e-05/0.8127, allocations: 156.5 kB / 1.141 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.264e-05/0.8127, allocations: 84.52 kB / 1.141 GB, free: 7.488 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.907e-05/0.8128, allocations: 79.22 kB / 1.141 GB, free: 7.41 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 8.4e-05/0.8129, allocations: 255.5 kB / 1.141 GB, free: 7.152 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.417e-05/0.8129, allocations: 132.6 kB / 1.141 GB, free: 7.016 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.595e-05/0.813, allocations: 151.3 kB / 1.141 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.936e-05/0.8131, allocations: 188.1 kB / 1.142 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.801e-05/0.8131, allocations: 180.3 kB / 1.142 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-05/0.8132, allocations: 176.3 kB / 1.142 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.814, allocations: 0.9642 MB / 1.143 GB, free: 5.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.909e-05/0.814, allocations: 105 kB / 1.143 GB, free: 5.18 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.094e-05/0.814, allocations: 101.3 kB / 1.143 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.07e-05/0.8141, allocations: 180.2 kB / 1.143 GB, free: 4.891 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.899e-05/0.8141, allocations: 184.3 kB / 1.143 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-05/0.8142, allocations: 180.2 kB / 1.144 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.86e-05/0.8143, allocations: 180.2 kB / 1.144 GB, free: 4.336 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001497/0.8144, allocations: 335.4 kB / 1.144 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002752/0.8147, allocations: 0.7067 MB / 1.145 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.8148, allocations: 205.7 kB / 1.145 GB, free: 3.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.527e-05/0.8149, allocations: 180.2 kB / 1.145 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.547e-05/0.815, allocations: 109 kB / 1.145 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.981e-05/0.8151, allocations: 185.4 kB / 1.145 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.957e-05/0.8151, allocations: 104.9 kB / 1.146 GB, free: 2.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.0002632/0.8154, allocations: 291.2 kB / 1.146 GB, free: 2.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001179/0.8166, allocations: 198.8 kB / 1.146 GB, free: 1.949 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.00012/0.8167, allocations: 178.5 kB / 1.146 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 3.214e-05/0.8168, allocations: 4 kB / 1.146 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.8168, allocations: 0 / 1.146 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.403e-06/0.8168, allocations: 0 / 1.146 GB, free: 1.762 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.8171, allocations: 0.5442 MB / 1.147 GB, free: 1.211 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008033/0.8252, allocations: 1.717 MB / 1.148 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001123/0.8263, allocations: 1.445 MB / 1.15 GB, free: 13.97 MB / 0.7605 GB Notification: Performance of SimCode: time 3.61e-07/0.8263, allocations: 0 / 1.15 GB, free: 13.97 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_8_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1)