Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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 10.0.0-master/package.mo): time 1.983/1.983, allocations: 390.4 MB / 397.7 MB, free: 15.43 MB / 318.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 192.6 kB / 490.8 MB, free: 6.41 MB / 398.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 221.3 MB / 0.7863 GB, free: 1.789 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009145/0.0009144, allocations: 97.55 kB / 0.9264 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of FrontEnd - loaded program: time 0.6074/0.6084, allocations: 149.2 MB / 1.072 GB, free: 186.1 MB / 0.7637 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.8964, allocations: 143 MB / 1.212 GB, free: 43.66 MB / 0.7637 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6872/1.584, allocations: 152.1 MB / 1.36 GB, free: 17.67 MB / 0.8262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/1.584, allocations: 77.5 kB / 1.36 GB, free: 17.67 MB / 0.8262 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.03403/1.618, allocations: 14.86 MB / 1.375 GB, free: 31.83 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/1.618, allocations: 12.5 kB / 1.375 GB, free: 31.83 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008494/1.619, allocations: 193.5 kB / 1.375 GB, free: 31.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002088/1.621, allocations: 0.8586 MB / 1.376 GB, free: 31.41 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001192/1.621, allocations: 65.62 kB / 1.376 GB, free: 31.41 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004507/1.621, allocations: 119.6 kB / 1.376 GB, free: 31.41 MB / 0.8419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003252/1.625, allocations: 1.522 MB / 1.377 GB, free: 31.39 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004954/1.63, allocations: 2.601 MB / 1.38 GB, free: 30.63 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.932e-05/1.63, allocations: 16.34 kB / 1.38 GB, free: 30.62 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001706/1.63, allocations: 7.562 kB / 1.38 GB, free: 30.62 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.441e-05/1.63, allocations: 56.12 kB / 1.38 GB, free: 30.62 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009308/1.639, allocations: 9.553 MB / 1.389 GB, free: 23.65 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.219e-05/1.639, allocations: 166.7 kB / 1.39 GB, free: 23.48 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/1.64, allocations: 83.2 kB / 1.39 GB, free: 23.4 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.36e-05/1.64, allocations: 76.86 kB / 1.39 GB, free: 23.32 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.64, allocations: 107 kB / 1.39 GB, free: 23.21 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.114e-06/1.64, allocations: 0 / 1.39 GB, free: 23.21 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001117/1.64, allocations: 68.02 kB / 1.39 GB, free: 23.15 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.803e-05/1.64, allocations: 52.69 kB / 1.39 GB, free: 23.09 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006676/1.64, allocations: 0.5165 MB / 1.39 GB, free: 22.95 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 6.272e-06/1.64, allocations: 25.7 kB / 1.39 GB, free: 22.91 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/1.641, allocations: 0.6966 MB / 1.391 GB, free: 22.47 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.933e-06/1.641, allocations: 0 / 1.391 GB, free: 22.47 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.81e-07/1.641, allocations: 0 / 1.391 GB, free: 22.47 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.641, allocations: 349.2 kB / 1.391 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.386e-06/1.641, allocations: 4 kB / 1.392 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.507e-06/1.641, allocations: 0 / 1.392 GB, free: 22.14 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.725e-05/1.641, allocations: 76.38 kB / 1.392 GB, free: 22.07 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.82e-05/1.641, allocations: 75.28 kB / 1.392 GB, free: 21.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 8.665e-05/1.641, allocations: 61.19 kB / 1.392 GB, free: 21.94 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/1.641, allocations: 5 kB / 1.392 GB, free: 21.94 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.914e-05/1.641, allocations: 80.12 kB / 1.392 GB, free: 21.86 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.027e-05/1.641, allocations: 155.6 kB / 1.392 GB, free: 21.71 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.661e-05/1.641, allocations: 87.22 kB / 1.392 GB, free: 21.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.616e-05/1.641, allocations: 158.7 kB / 1.392 GB, free: 21.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/1.641, allocations: 77.64 kB / 1.392 GB, free: 21.4 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/1.641, allocations: 76.31 kB / 1.392 GB, free: 21.32 MB / 0.8419 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 0.000104/1.642, allocations: 256.4 kB / 1.393 GB, free: 21.07 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.642, allocations: 142.8 kB / 1.393 GB, free: 20.93 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.646e-05/1.642, allocations: 142.2 kB / 1.393 GB, free: 20.81 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.635e-05/1.642, allocations: 177.2 kB / 1.393 GB, free: 20.63 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-05/1.642, allocations: 188.8 kB / 1.393 GB, free: 20.44 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.683e-05/1.642, allocations: 181.3 kB / 1.393 GB, free: 20.26 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009603/1.643, allocations: 0.9549 MB / 1.394 GB, free: 19.71 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.157e-05/1.643, allocations: 110.3 kB / 1.394 GB, free: 19.6 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.395e-05/1.643, allocations: 102 kB / 1.394 GB, free: 19.49 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.334e-05/1.643, allocations: 181.4 kB / 1.395 GB, free: 19.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-05/1.643, allocations: 185.8 kB / 1.395 GB, free: 19.12 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.089e-05/1.643, allocations: 176.3 kB / 1.395 GB, free: 18.94 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-05/1.643, allocations: 184.5 kB / 1.395 GB, free: 18.76 MB / 0.8419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001471/1.643, allocations: 335.2 kB / 1.396 GB, free: 18.42 MB / 0.8419 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002565/1.644, allocations: 0.7069 MB / 1.396 GB, free: 17.71 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.65e-05/1.644, allocations: 208.5 kB / 1.396 GB, free: 17.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/1.644, allocations: 181.4 kB / 1.397 GB, free: 17.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.847e-05/1.644, allocations: 106 kB / 1.397 GB, free: 17.2 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.989e-05/1.644, allocations: 177.4 kB / 1.397 GB, free: 17.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/1.644, allocations: 102.1 kB / 1.397 GB, free: 16.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 0.0003247/1.644, allocations: 291.3 kB / 1.397 GB, free: 16.8 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001309/1.646, allocations: 206 kB / 1.397 GB, free: 16.74 MB / 0.8419 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.0001223/1.646, allocations: 181.8 kB / 1.398 GB, free: 16.57 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 2.893e-05/1.646, allocations: 1.469 kB / 1.398 GB, free: 16.57 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.646, allocations: 0 / 1.398 GB, free: 16.57 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/1.646, allocations: 0 / 1.398 GB, free: 16.57 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/1.646, allocations: 0.5399 MB / 1.398 GB, free: 16.04 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008191/1.655, allocations: 1.707 MB / 1.4 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001361/1.656, allocations: 1.449 MB / 1.401 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/1.656, allocations: 4 kB / 1.401 GB, free: 14.36 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_ASHRAE_G36_PR1_Generic_SetPoints_Validation_ZoneStatusDuplicator.fmu > Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Obsolete.Controls.OBC.ASHRAE.G36_PR1.Generic.SetPoints.Validation.ZoneStatusDuplicator_res.mat does not exist to compare? outputFormat=mat