Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_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 9.1.1-maint.9.1.x/package.mo): time 1.741/1.741, allocations: 387.2 MB / 394.5 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009442/0.0009442, allocations: 190.1 kB / 487 MB, free: 0.7031 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.149/1.149, allocations: 221.3 MB / 0.7819 GB, free: 6.797 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008424/0.0008424, allocations: 96.2 kB / 0.9213 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.2424/0.2432, allocations: 148.5 MB / 1.066 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.8954, allocations: 142.3 MB / 1.205 GB, free: 1.801 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1738/1.069, allocations: 149.7 MB / 1.352 GB, free: 15.91 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/1.07, allocations: 71.94 kB / 1.352 GB, free: 15.84 MB / 0.9792 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.02736/1.097, allocations: 14.78 MB / 1.366 GB, free: 0.9805 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/1.097, allocations: 8 kB / 1.366 GB, free: 0.9727 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000251/1.097, allocations: 197.6 kB / 1.366 GB, free: 0.7773 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/1.099, allocations: 0.8513 MB / 1.367 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.524e-05/1.099, allocations: 68 kB / 1.367 GB, free: 15.81 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001859/1.099, allocations: 120 kB / 1.367 GB, free: 15.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002048/1.101, allocations: 1.527 MB / 1.369 GB, free: 14.16 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003088/1.104, allocations: 2.599 MB / 1.371 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.96e-05/1.104, allocations: 11.88 kB / 1.371 GB, free: 11.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/1.104, allocations: 8 kB / 1.371 GB, free: 11.27 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/1.104, allocations: 56 kB / 1.371 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006936/1.111, allocations: 9.555 MB / 1.381 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 6.361e-05/1.111, allocations: 169.1 kB / 1.381 GB, free: 1.156 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.802e-05/1.111, allocations: 84.14 kB / 1.381 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/1.111, allocations: 75.28 kB / 1.381 GB, free: 0.9961 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/1.111, allocations: 109.8 kB / 1.381 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 2.053e-06/1.111, allocations: 0 / 1.381 GB, free: 0.8789 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 8.876e-05/1.111, allocations: 57.23 kB / 1.381 GB, free: 0.8164 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/1.111, allocations: 55.34 kB / 1.381 GB, free: 0.75 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/1.112, allocations: 0.5194 MB / 1.382 GB, free: 224 kB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.899e-06/1.112, allocations: 29.7 kB / 1.382 GB, free: 188 kB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/1.112, allocations: 0.6964 MB / 1.382 GB, free: 15.47 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/1.112, allocations: 0 / 1.382 GB, free: 15.47 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.01e-07/1.112, allocations: 3.938 kB / 1.382 GB, free: 15.47 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001203/1.113, allocations: 350.8 kB / 1.383 GB, free: 15.12 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.196e-06/1.113, allocations: 0 / 1.383 GB, free: 15.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.377e-06/1.113, allocations: 0 / 1.383 GB, free: 15.12 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.31e-05/1.113, allocations: 75.28 kB / 1.383 GB, free: 15.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.472e-05/1.113, allocations: 79.28 kB / 1.383 GB, free: 14.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=0) (initialization): time 7.398e-05/1.113, allocations: 57.33 kB / 1.383 GB, free: 14.9 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.164e-05/1.113, allocations: 7.938 kB / 1.383 GB, free: 14.89 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.756e-05/1.113, allocations: 79.22 kB / 1.383 GB, free: 14.82 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.132e-05/1.113, allocations: 162.6 kB / 1.383 GB, free: 14.66 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.345e-05/1.113, allocations: 80.86 kB / 1.383 GB, free: 14.58 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.878e-05/1.113, allocations: 154.5 kB / 1.383 GB, free: 14.43 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.643e-05/1.113, allocations: 79.28 kB / 1.384 GB, free: 14.35 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/1.113, allocations: 79.28 kB / 1.384 GB, free: 14.27 MB / 1.01 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.122e-05/1.113, allocations: 255.5 kB / 1.384 GB, free: 14.01 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/1.113, allocations: 132.5 kB / 1.384 GB, free: 13.88 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.872e-05/1.113, allocations: 147 kB / 1.384 GB, free: 13.72 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.904e-05/1.113, allocations: 184.3 kB / 1.384 GB, free: 13.54 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.004e-05/1.113, allocations: 184.2 kB / 1.384 GB, free: 13.35 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.314e-05/1.113, allocations: 176.3 kB / 1.385 GB, free: 13.17 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007249/1.114, allocations: 0.9564 MB / 1.386 GB, free: 12.16 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.911e-05/1.114, allocations: 108.9 kB / 1.386 GB, free: 12.05 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.408e-05/1.114, allocations: 101.3 kB / 1.386 GB, free: 11.94 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.78e-05/1.114, allocations: 180.3 kB / 1.386 GB, free: 11.76 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/1.114, allocations: 184.2 kB / 1.386 GB, free: 11.57 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.573e-05/1.114, allocations: 184.2 kB / 1.386 GB, free: 11.38 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.514e-05/1.114, allocations: 176.3 kB / 1.386 GB, free: 11.2 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001303/1.115, allocations: 343.3 kB / 1.387 GB, free: 10.84 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002398/1.115, allocations: 0.7067 MB / 1.387 GB, free: 10.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.271e-05/1.115, allocations: 201.7 kB / 1.388 GB, free: 9.887 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/1.115, allocations: 180.2 kB / 1.388 GB, free: 9.703 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.602e-05/1.115, allocations: 112.9 kB / 1.388 GB, free: 9.586 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.175e-05/1.115, allocations: 184.3 kB / 1.388 GB, free: 9.398 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/1.115, allocations: 101 kB / 1.388 GB, free: 9.293 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.0002485/1.115, allocations: 291.2 kB / 1.388 GB, free: 9.012 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001054/1.116, allocations: 194.8 kB / 1.389 GB, free: 8.82 MB / 1.01 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.000141/1.117, allocations: 185.7 kB / 1.389 GB, free: 8.633 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 3.586e-05/1.117, allocations: 7.938 kB / 1.389 GB, free: 8.625 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.117, allocations: 0 / 1.389 GB, free: 8.625 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/1.117, allocations: 0 / 1.389 GB, free: 8.625 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/1.117, allocations: 0.5396 MB / 1.389 GB, free: 8.078 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007552/1.125, allocations: 1.706 MB / 1.391 GB, free: 6.324 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001038/1.126, allocations: 1.447 MB / 1.392 GB, free: 4.848 MB / 1.01 GB Notification: Performance of SimCode: time 4.1e-07/1.126, allocations: 0 / 1.392 GB, free: 4.848 MB / 1.01 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_ZoneGroups_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36.ZoneGroups.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat