Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.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.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating",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.388/1.388, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.0009266/0.0009265, allocations: 189.3 kB / 366.3 MB, free: 2.023 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.05/1.05, allocations: 205.1 MB / 0.6256 GB, free: 5.871 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.0007927/0.0007929, allocations: 89.34 kB / 0.7395 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2011/0.2019, allocations: 122.4 MB / 0.8591 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.6503, allocations: 116.3 MB / 0.9727 GB, free: 68.17 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1419/0.7923, allocations: 138.8 MB / 1.108 GB, free: 9.75 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/0.7925, allocations: 79.88 kB / 1.108 GB, free: 9.672 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: 27 * Number of variables: 27 Notification: Performance of Generate backend data structure: time 0.01125/0.8038, allocations: 4.24 MB / 1.112 GB, free: 5.387 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.145e-05/0.8038, allocations: 8 kB / 1.112 GB, free: 5.379 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.988e-05/0.8039, allocations: 32.36 kB / 1.112 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.804, allocations: 173.2 kB / 1.113 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.691e-05/0.804, allocations: 11.98 kB / 1.113 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.583e-05/0.8041, allocations: 31.98 kB / 1.113 GB, free: 5.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002037/0.8043, allocations: 112.4 kB / 1.113 GB, free: 4.988 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000326/0.8046, allocations: 231.1 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.8047, allocations: 0.5625 kB / 1.113 GB, free: 4.758 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.891e-05/0.8047, allocations: 11.98 kB / 1.113 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.8047, allocations: 4 kB / 1.113 GB, free: 4.742 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006892/0.8054, allocations: 0.5409 MB / 1.114 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004243/0.8058, allocations: 379.8 kB / 1.114 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002225/0.8061, allocations: 186.3 kB / 1.114 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.877e-05/0.8061, allocations: 7.984 kB / 1.114 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003694/0.8065, allocations: 273.7 kB / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=46): time 1.623e-06/0.8065, allocations: 0 / 1.114 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of matching and sorting (n=46): time 0.0005757/0.8071, allocations: 377.6 kB / 1.115 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.8071, allocations: 71.38 kB / 1.115 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.8072, allocations: 122.3 kB / 1.115 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 5.638e-05/0.8073, allocations: 45.62 kB / 1.115 GB, free: 2.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.756e-05/0.8073, allocations: 97.05 kB / 1.115 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.785e-05/0.8074, allocations: 98.84 kB / 1.115 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.719e-05/0.8074, allocations: 4 kB / 1.115 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/0.8075, allocations: 334.7 kB / 1.115 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002184/0.8078, allocations: 130.6 kB / 1.116 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.8081, allocations: 275.6 kB / 1.116 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.8085, allocations: 157.1 kB / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8085, allocations: 0 / 1.116 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.0008484/0.8094, allocations: 472.5 kB / 1.116 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.142e-05/0.8094, allocations: 4 kB / 1.116 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.8094, allocations: 8.031 kB / 1.116 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.864e-05/0.8094, allocations: 8 kB / 1.116 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.8096, allocations: 47.84 kB / 1.116 GB, free: 0.9844 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.205e-05/0.8096, allocations: 11.94 kB / 1.116 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/0.81, allocations: 107.7 kB / 1.117 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.8101, allocations: 28.48 kB / 1.117 GB, free: 0.8398 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.noThr.passed,noThr.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$whenCondition20,noThr.reset,$whenCondition16,thrTim.reset,$whenCondition12,$whenCondition8,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.y,resTim.y,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * 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.0001362/0.8102, allocations: 154 kB / 1.117 GB, free: 0.6797 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.8103, allocations: 31.7 kB / 1.117 GB, free: 0.6484 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.8104, allocations: 22.31 kB / 1.117 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.8104, allocations: 4 kB / 1.117 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8104, allocations: 0 / 1.117 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.8104, allocations: 3.984 kB / 1.117 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001199/0.8116, allocations: 0.8559 MB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.8116, allocations: 3.906 kB / 1.118 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.376e-05/0.8117, allocations: 16.66 kB / 1.118 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.8117, allocations: 8 kB / 1.118 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.276e-05/0.8117, allocations: 15.97 kB / 1.118 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.8118, allocations: 0 / 1.118 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.8118, allocations: 0 / 1.118 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005528/0.8123, allocations: 0.5116 MB / 1.118 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005992/0.8129, allocations: 0.8712 MB / 1.119 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.813, allocations: 101.4 kB / 1.119 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.56e-05/0.813, allocations: 15.98 kB / 1.119 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.8133, allocations: 39.95 kB / 1.119 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.209e-05/0.8133, allocations: 39.92 kB / 1.119 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.155e-05/0.8134, allocations: 43.95 kB / 1.119 GB, free: 13.95 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.456e-05/0.8135, allocations: 91.78 kB / 1.119 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009744/0.8144, allocations: 95.88 kB / 1.119 GB, free: 13.77 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 42 (noThrWitRes.reset,thrTimWitRes.reset,noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.y,resTim.y,noThr.reset,thrTim.reset) * Number of discrete states: 16 (thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTim.y,thrTim.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,noThr.y,noThr.passed,noThrWitRes.y,noThrWitRes.passed,thrTimWitRes.y,thrTimWitRes.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0001911/0.8146, allocations: 151.4 kB / 1.12 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005845/0.8152, allocations: 439.1 kB / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.8152, allocations: 0 / 1.12 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002963/0.8155, allocations: 283.8 kB / 1.12 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002511/0.8158, allocations: 27.39 kB / 1.12 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000614/0.8164, allocations: 358.2 kB / 1.121 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002934/0.8167, allocations: 0.7609 MB / 1.121 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.8167, allocations: 1.312 kB / 1.121 GB, free: 11.71 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulating.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulating.pipe 2>&1)