Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.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_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.844/1.844, allocations: 387.2 MB / 394.5 MB, free: 13.71 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009513/0.0009512, allocations: 173.3 kB / 487 MB, free: 5.41 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.165/1.165, allocations: 221.3 MB / 0.7819 GB, free: 1.402 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008452/0.0008452, allocations: 95.88 kB / 0.9213 GB, free: 2.66 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4445/0.4454, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.6389, allocations: 142.3 MB / 1.205 GB, free: 26.13 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5457/1.185, allocations: 149.8 MB / 1.352 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002065/1.185, allocations: 73.12 kB / 1.352 GB, free: 15.83 MB / 0.8073 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.02738/1.212, allocations: 14.78 MB / 1.366 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/1.212, allocations: 12 kB / 1.366 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002341/1.213, allocations: 197.6 kB / 1.366 GB, free: 9.816 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/1.214, allocations: 0.8569 MB / 1.367 GB, free: 9.047 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/1.214, allocations: 68 kB / 1.367 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/1.214, allocations: 116 kB / 1.367 GB, free: 8.867 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001778/1.216, allocations: 1.52 MB / 1.369 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/1.218, allocations: 2.599 MB / 1.371 GB, free: 5.359 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.926e-05/1.218, allocations: 15.88 kB / 1.371 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001401/1.219, allocations: 15.92 kB / 1.371 GB, free: 5.328 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.672e-05/1.219, allocations: 56 kB / 1.371 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005474/1.224, allocations: 9.545 MB / 1.381 GB, free: 12.11 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.244e-05/1.224, allocations: 173.1 kB / 1.381 GB, free: 11.93 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.656e-05/1.224, allocations: 84.08 kB / 1.381 GB, free: 11.85 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.153e-05/1.224, allocations: 75.28 kB / 1.381 GB, free: 11.77 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/1.224, allocations: 109.6 kB / 1.381 GB, free: 11.66 MB / 0.823 GB Notification: Performance of pre-optimization done (n=0): time 1.803e-06/1.224, allocations: 3.938 kB / 1.381 GB, free: 11.66 MB / 0.823 GB Notification: Performance of matching and sorting (n=0): time 8.579e-05/1.224, allocations: 65.23 kB / 1.381 GB, free: 11.59 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/1.224, allocations: 55.39 kB / 1.381 GB, free: 11.52 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004408/1.225, allocations: 0.5132 MB / 1.382 GB, free: 11.12 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/1.225, allocations: 29.7 kB / 1.382 GB, free: 11.08 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002943/1.225, allocations: 0.6877 MB / 1.383 GB, free: 10.5 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/1.225, allocations: 0 / 1.383 GB, free: 10.5 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.71e-07/1.225, allocations: 0 / 1.383 GB, free: 10.5 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001034/1.225, allocations: 350.2 kB / 1.383 GB, free: 10.16 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.176e-06/1.225, allocations: 4 kB / 1.383 GB, free: 10.16 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.288e-06/1.225, allocations: 0 / 1.383 GB, free: 10.16 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.221e-05/1.225, allocations: 79.22 kB / 1.383 GB, free: 10.08 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.225, allocations: 75.28 kB / 1.383 GB, free: 10.01 MB / 0.823 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.9e-05/1.225, allocations: 57.33 kB / 1.383 GB, free: 9.945 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/1.225, allocations: 14.8 kB / 1.383 GB, free: 9.934 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.265e-05/1.225, allocations: 83.16 kB / 1.383 GB, free: 9.855 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.643e-05/1.226, allocations: 158.5 kB / 1.383 GB, free: 9.699 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.746e-05/1.226, allocations: 79.28 kB / 1.383 GB, free: 9.621 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.539e-05/1.226, allocations: 150.6 kB / 1.384 GB, free: 9.473 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.369e-05/1.226, allocations: 88.45 kB / 1.384 GB, free: 9.387 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/1.226, allocations: 75.28 kB / 1.384 GB, free: 9.312 MB / 0.823 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 7.733e-05/1.226, allocations: 251.5 kB / 1.384 GB, free: 9.059 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.407e-05/1.226, allocations: 140.6 kB / 1.384 GB, free: 8.914 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.702e-05/1.226, allocations: 145.7 kB / 1.384 GB, free: 8.766 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.201e-05/1.226, allocations: 180.1 kB / 1.384 GB, free: 8.586 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.289e-05/1.226, allocations: 180.2 kB / 1.385 GB, free: 8.402 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.584e-05/1.226, allocations: 184.2 kB / 1.385 GB, free: 8.215 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006982/1.227, allocations: 0.9542 MB / 1.386 GB, free: 7.363 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/1.227, allocations: 105 kB / 1.386 GB, free: 7.254 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.743e-05/1.227, allocations: 105.2 kB / 1.386 GB, free: 7.145 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.117e-05/1.227, allocations: 176.3 kB / 1.386 GB, free: 6.965 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/1.227, allocations: 184.3 kB / 1.386 GB, free: 6.777 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.716e-05/1.227, allocations: 187.8 kB / 1.386 GB, free: 6.59 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.525e-05/1.227, allocations: 180.3 kB / 1.387 GB, free: 6.406 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001088/1.227, allocations: 339.3 kB / 1.387 GB, free: 6.051 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001949/1.227, allocations: 0.7062 MB / 1.388 GB, free: 5.32 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.213e-05/1.227, allocations: 213.6 kB / 1.388 GB, free: 5.086 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.084e-05/1.228, allocations: 187.8 kB / 1.388 GB, free: 4.898 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.685e-05/1.228, allocations: 105 kB / 1.388 GB, free: 4.789 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.151e-05/1.228, allocations: 184.1 kB / 1.388 GB, free: 4.602 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.215e-05/1.228, allocations: 101 kB / 1.388 GB, free: 4.496 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0002207/1.228, allocations: 291.8 kB / 1.389 GB, free: 4.27 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001042/1.229, allocations: 202.8 kB / 1.389 GB, free: 4.07 MB / 0.823 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.0001203/1.229, allocations: 174.5 kB / 1.389 GB, free: 3.891 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 2.915e-05/1.229, allocations: 4 kB / 1.389 GB, free: 3.887 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.229, allocations: 0 / 1.389 GB, free: 3.887 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.229, allocations: 0 / 1.389 GB, free: 3.887 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/1.23, allocations: 0.5418 MB / 1.389 GB, free: 3.348 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00735/1.237, allocations: 1.712 MB / 1.391 GB, free: 1.668 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009647/1.238, allocations: 1.447 MB / 1.393 GB, free: 272 kB / 0.823 GB Notification: Performance of SimCode: time 2.4e-07/1.238, allocations: 0 / 1.393 GB, free: 272 kB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat