Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.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.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.371/1.371, allocations: 289.8 MB / 297 MB, free: 6.625 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.001023/0.001023, allocations: 185.3 kB / 366.3 MB, free: 1.953 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.125/1.125, allocations: 205.2 MB / 0.6256 GB, free: 5.793 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.0008583/0.0008586, allocations: 89.92 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2287/0.2296, allocations: 122.4 MB / 0.8591 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5005/0.7302, allocations: 116.3 MB / 0.9726 GB, free: 68.76 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.155/0.8852, allocations: 138.8 MB / 1.108 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001868/0.8854, allocations: 67.97 kB / 1.108 GB, free: 9.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.003421/0.8889, allocations: 1.258 MB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.8889, allocations: 12.83 kB / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.889, allocations: 4 kB / 1.109 GB, free: 8.352 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001286/0.8891, allocations: 170.9 kB / 1.11 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/0.8891, allocations: 0 / 1.11 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.285e-05/0.8891, allocations: 4 kB / 1.11 GB, free: 8.141 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.752e-05/0.8892, allocations: 16.56 kB / 1.11 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.018e-05/0.8893, allocations: 51.77 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.8893, allocations: 0 / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.121e-05/0.8893, allocations: 3.984 kB / 1.11 GB, free: 8.066 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.8893, allocations: 4.656 kB / 1.11 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003092/0.8896, allocations: 250 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.59e-05/0.8897, allocations: 34.58 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.979e-05/0.8898, allocations: 24.97 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.8898, allocations: 0 / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.8899, allocations: 94.14 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 1.182e-06/0.8899, allocations: 0 / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0001674/0.8901, allocations: 73.62 kB / 1.11 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.111e-05/0.8901, allocations: 81.02 kB / 1.11 GB, free: 7.426 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.576e-05/0.8902, allocations: 104.1 kB / 1.11 GB, free: 7.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.8902, allocations: 33.7 kB / 1.11 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.283e-05/0.8903, allocations: 84.14 kB / 1.11 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.799e-05/0.8903, allocations: 16.36 kB / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.8903, allocations: 0 / 1.11 GB, free: 7.18 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.8904, allocations: 314.8 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.729e-05/0.8904, allocations: 15.94 kB / 1.111 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.8905, allocations: 38.56 kB / 1.111 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.428e-05/0.8905, allocations: 25.88 kB / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.8905, allocations: 0 / 1.111 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001127/0.8906, allocations: 77.59 kB / 1.111 GB, free: 6.695 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-06/0.8907, allocations: 4 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8907, allocations: 0.6875 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.8907, allocations: 4 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.558e-05/0.8907, allocations: 7.922 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.05e-06/0.8908, allocations: 7.906 kB / 1.111 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.341e-05/0.8908, allocations: 8.062 kB / 1.111 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.8908, allocations: 4 kB / 1.111 GB, free: 6.66 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.8e-05/0.8909, allocations: 141.2 kB / 1.111 GB, free: 6.512 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.443e-05/0.891, allocations: 8.719 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.891, allocations: 12.38 kB / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.891, allocations: 0 / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.115e-06/0.891, allocations: 0 / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.891, allocations: 0 / 1.111 GB, free: 6.488 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.8913, allocations: 336.9 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.8913, allocations: 0 / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.534e-06/0.8913, allocations: 0.875 kB / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.8913, allocations: 0 / 1.111 GB, free: 6.117 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.8913, allocations: 4 kB / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.8913, allocations: 0 / 1.111 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.8913, allocations: 3.938 kB / 1.111 GB, free: 6.109 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001346/0.8915, allocations: 175.4 kB / 1.112 GB, free: 5.922 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002181/0.8917, allocations: 0.5523 MB / 1.112 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.112e-05/0.8918, allocations: 77.11 kB / 1.112 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.239e-05/0.8918, allocations: 4 kB / 1.112 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001094/0.8919, allocations: 19.89 kB / 1.112 GB, free: 5.234 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.8919, allocations: 4 kB / 1.112 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.892, allocations: 8.547 kB / 1.112 GB, free: 5.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.57e-05/0.892, allocations: 87.28 kB / 1.112 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007623/0.8928, allocations: 12 kB / 1.112 GB, free: 5.125 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 0.0001062/0.8929, allocations: 99.19 kB / 1.112 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.893, allocations: 84 kB / 1.113 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.893, allocations: 4.125 kB / 1.113 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.113e-05/0.8931, allocations: 57.64 kB / 1.113 GB, free: 4.867 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.8933, allocations: 15.5 kB / 1.113 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002485/0.8936, allocations: 95.61 kB / 1.113 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002407/0.8938, allocations: 0.6997 MB / 1.113 GB, free: 4.012 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.8938, allocations: 0 / 1.113 GB, free: 4.012 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_8_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)