Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",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.0.1-maint.8.0.x/package.mo): time 1.306/1.306, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.0009235/0.0009236, allocations: 189.3 kB / 361.1 MB, free: 7.07 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.006/1.006, allocations: 205.1 MB / 0.6195 GB, free: 10.29 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.0007301/0.0007302, allocations: 89.5 kB / 0.7325 GB, free: 44.22 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1715/0.1723, allocations: 121.4 MB / 0.8511 GB, free: 2.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4072/0.5795, allocations: 115.3 MB / 0.9637 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.7065, allocations: 137.8 MB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001736/0.7067, allocations: 76.47 kB / 1.098 GB, free: 2.117 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003206/0.7099, allocations: 1.252 MB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.71, allocations: 9.125 kB / 1.1 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.71, allocations: 4 kB / 1.1 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001026/0.7101, allocations: 171.8 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.273e-05/0.7101, allocations: 0.5625 kB / 1.1 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.7102, allocations: 4.719 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.75e-05/0.7102, allocations: 12 kB / 1.1 GB, free: 0.6211 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.951e-05/0.7103, allocations: 50.3 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.22e-06/0.7103, allocations: 2.688 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.7103, allocations: 4.922 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.7103, allocations: 4.469 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002692/0.7106, allocations: 244.9 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.7107, allocations: 39.19 kB / 1.1 GB, free: 244 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.1e-05/0.7107, allocations: 21.92 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/0.7107, allocations: 4 kB / 1.1 GB, free: 216 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.474e-05/0.7108, allocations: 90.33 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.7108, allocations: 0.6875 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of matching and sorting (n=9): time 0.0001457/0.711, allocations: 73.61 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.7111, allocations: 89.75 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.912e-05/0.7111, allocations: 103.2 kB / 1.1 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.243e-05/0.7111, allocations: 25.7 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.382e-05/0.7112, allocations: 80.89 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.954e-05/0.7112, allocations: 23.86 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.158e-06/0.7112, allocations: 0.5 kB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.7113, allocations: 319.8 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.445e-05/0.7113, allocations: 12 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.985e-05/0.7114, allocations: 43.22 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.7114, allocations: 12.97 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.7114, allocations: 0.7188 kB / 1.101 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001062/0.7115, allocations: 82.41 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.476e-06/0.7115, allocations: 4 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7115, allocations: 4.531 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.7116, allocations: 0 / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.647e-05/0.7116, allocations: 12.05 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.7116, allocations: 3.906 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.241e-05/0.7117, allocations: 8 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.7117, allocations: 5.797 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.del.firstTrigger,del.firstTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.sampleTrigger,del.ySample,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * 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.337e-05/0.7118, allocations: 145.2 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.449e-05/0.7118, allocations: 7.906 kB / 1.101 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.496e-05/0.7118, allocations: 12.38 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-06/0.7118, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.7118, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7119, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002651/0.7121, allocations: 327 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.7121, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.7121, allocations: 5.688 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7122, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.548e-06/0.7122, allocations: 4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.7122, allocations: 0 / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.7122, allocations: 4 kB / 1.102 GB, free: 14.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000124/0.7123, allocations: 175.4 kB / 1.102 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002038/0.7125, allocations: 0.5517 MB / 1.102 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.761e-05/0.7126, allocations: 77.11 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.119e-05/0.7126, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.7127, allocations: 19.89 kB / 1.102 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.38e-05/0.7127, allocations: 7.984 kB / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.7128, allocations: 0 / 1.102 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.02e-05/0.7128, allocations: 87.28 kB / 1.102 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007588/0.7136, allocations: 12 kB / 1.102 GB, free: 13.64 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (del.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,del.y,del.firstTrigger,del.ySample,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 3 (del.ySample,del.y,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 8.63e-05/0.7137, allocations: 109.3 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001193/0.7138, allocations: 81.61 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.7138, allocations: 3.938 kB / 1.103 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.104e-05/0.7139, allocations: 64.27 kB / 1.103 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.714, allocations: 8 kB / 1.103 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002176/0.7143, allocations: 98.55 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002308/0.7145, allocations: 0.7052 MB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7145, allocations: 0 / 1.104 GB, free: 12.52 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_maint.8.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)