Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.23/1.23, allocations: 249.4 MB / 256.7 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009028/0.000903, allocations: 185.2 kB / 316 MB, free: 3.551 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.134/1.134, allocations: 205.2 MB / 0.5667 GB, free: 15.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008426/0.0008427, allocations: 89.33 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3792/0.3801, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.5562, allocations: 106.3 MB / 0.8846 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5004/1.057, allocations: 132.6 MB / 1.014 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/1.057, allocations: 70.89 kB / 1.014 GB, free: 5.953 MB / 0.6355 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.003319/1.06, allocations: 1.265 MB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/1.06, allocations: 8 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/1.06, allocations: 7.906 kB / 1.015 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/1.06, allocations: 163.8 kB / 1.016 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/1.06, allocations: 3.906 kB / 1.016 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/1.06, allocations: 7.984 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.485e-05/1.061, allocations: 17.81 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/1.061, allocations: 45.12 kB / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/1.061, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.859e-06/1.061, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.878e-06/1.061, allocations: 0 / 1.016 GB, free: 4.523 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003084/1.061, allocations: 255.4 kB / 1.016 GB, free: 4.25 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.726e-05/1.061, allocations: 33.14 kB / 1.016 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.616e-05/1.061, allocations: 24.42 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/1.061, allocations: 2.734 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/1.061, allocations: 95.59 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.553e-06/1.061, allocations: 0 / 1.016 GB, free: 4.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0001794/1.061, allocations: 75.84 kB / 1.016 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.521e-05/1.061, allocations: 77.11 kB / 1.016 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/1.062, allocations: 104.1 kB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/1.062, allocations: 33.7 kB / 1.016 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.145e-05/1.062, allocations: 80.14 kB / 1.016 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.294e-05/1.062, allocations: 19.47 kB / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.359e-06/1.062, allocations: 0 / 1.016 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.661e-05/1.062, allocations: 318.3 kB / 1.017 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.931e-05/1.062, allocations: 11.56 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.553e-05/1.062, allocations: 33.64 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/1.062, allocations: 26.55 kB / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.062, allocations: 0 / 1.017 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001219/1.062, allocations: 76.64 kB / 1.017 GB, free: 3.234 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.062, allocations: 7.938 kB / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/1.062, allocations: 0 / 1.017 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/1.062, allocations: 4 kB / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.317e-05/1.062, allocations: 0 / 1.017 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/1.062, allocations: 8.266 kB / 1.017 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.997e-05/1.062, allocations: 15.73 kB / 1.017 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/1.062, allocations: 7.938 kB / 1.017 GB, free: 3.199 MB / 0.6355 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 0.0001525/1.062, allocations: 145.7 kB / 1.017 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/1.062, allocations: 4 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/1.062, allocations: 11.38 kB / 1.017 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.062, allocations: 3.906 kB / 1.017 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/1.062, allocations: 3.984 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.062, allocations: 4 kB / 1.017 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003269/1.063, allocations: 321.8 kB / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/1.063, allocations: 0 / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.767e-06/1.063, allocations: 0 / 1.017 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/1.063, allocations: 7.844 kB / 1.017 GB, free: 2.676 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.478e-05/1.063, allocations: 7.984 kB / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/1.063, allocations: 0 / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/1.063, allocations: 0 / 1.017 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001594/1.063, allocations: 178.5 kB / 1.018 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002887/1.063, allocations: 0.5454 MB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/1.063, allocations: 81.02 kB / 1.018 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/1.063, allocations: 4 kB / 1.018 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/1.064, allocations: 15.98 kB / 1.018 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/1.064, allocations: 7.797 kB / 1.018 GB, free: 1.82 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/1.064, allocations: 4 kB / 1.018 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.025e-05/1.064, allocations: 90.84 kB / 1.018 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0008422/1.064, allocations: 12 kB / 1.018 GB, free: 1.719 MB / 0.6355 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.0001014/1.065, allocations: 103.5 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001316/1.065, allocations: 79.02 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.065, allocations: 3.688 kB / 1.018 GB, free: 1.543 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.222e-05/1.065, allocations: 57.2 kB / 1.019 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/1.065, allocations: 26.78 kB / 1.019 GB, free: 1.469 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000256/1.065, allocations: 86.09 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002742/1.066, allocations: 0.6997 MB / 1.019 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.066, allocations: 128 / 1.019 GB, free: 0.6445 MB / 0.6355 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_Discrete_Examples_BooleanDelay.fmu > Buildings_maint.7.0.x_Buildings.Controls.Discrete.Examples.BooleanDelay.pipe 2>&1)