Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Discrete.Examples.BooleanDelay.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Discrete.Examples.BooleanDelay,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.595/2.595, allocations: 248.6 MB / 255.9 MB, free: 7.117 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.001636/0.001636, allocations: 186.5 kB / 315.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.176/2.176, allocations: 205.1 MB / 0.5658 GB, free: 460 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001273/0.001272, allocations: 85.75 kB / 0.67 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5357/0.537, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.7848, allocations: 106.2 MB / 0.8835 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7268/1.512, allocations: 132.3 MB / 1.013 GB, free: 7.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/1.512, allocations: 72.77 kB / 1.013 GB, free: 7.859 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.006037/1.518, allocations: 1.265 MB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.518, allocations: 8 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.979e-05/1.518, allocations: 7.906 kB / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/1.518, allocations: 163 kB / 1.014 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.266e-05/1.518, allocations: 6.125 kB / 1.014 GB, free: 6.492 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.008e-05/1.519, allocations: 7.844 kB / 1.014 GB, free: 6.484 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001058/1.519, allocations: 19.55 kB / 1.014 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001144/1.519, allocations: 49.17 kB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.068e-06/1.519, allocations: 0 / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/1.519, allocations: 8 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/1.519, allocations: 0 / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004638/1.519, allocations: 239.2 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/1.519, allocations: 44.95 kB / 1.015 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/1.52, allocations: 19.61 kB / 1.015 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/1.52, allocations: 0 / 1.015 GB, free: 6.094 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001574/1.52, allocations: 95.84 kB / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.833e-06/1.52, allocations: 0 / 1.015 GB, free: 5.992 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002511/1.52, allocations: 72.59 kB / 1.015 GB, free: 5.922 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/1.52, allocations: 81.11 kB / 1.015 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/1.52, allocations: 101.8 kB / 1.015 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/1.52, allocations: 25.7 kB / 1.015 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.76e-05/1.52, allocations: 88.12 kB / 1.015 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/1.52, allocations: 14.75 kB / 1.015 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/1.52, allocations: 8 kB / 1.015 GB, free: 5.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001447/1.52, allocations: 322.7 kB / 1.015 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.456e-05/1.521, allocations: 10.94 kB / 1.015 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.374e-05/1.521, allocations: 33.27 kB / 1.015 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.789e-05/1.521, allocations: 27.67 kB / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.521, allocations: 0 / 1.015 GB, free: 5.203 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001793/1.521, allocations: 72.41 kB / 1.015 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/1.521, allocations: 8 kB / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.521, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/1.521, allocations: 0 / 1.015 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.907e-05/1.521, allocations: 15.81 kB / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.521, allocations: 0 / 1.015 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/1.521, allocations: 11.98 kB / 1.015 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/1.521, allocations: 4.062 kB / 1.015 GB, free: 5.098 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.0001941/1.522, allocations: 141.8 kB / 1.016 GB, free: 4.949 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/1.522, allocations: 8 kB / 1.016 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.093e-05/1.522, allocations: 12.5 kB / 1.016 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.522, allocations: 7.984 kB / 1.016 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/1.522, allocations: 3.906 kB / 1.016 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/1.522, allocations: 3.984 kB / 1.016 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005806/1.522, allocations: 317.3 kB / 1.016 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.522, allocations: 4.625 kB / 1.016 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/1.522, allocations: 4 kB / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/1.522, allocations: 0 / 1.016 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.583e-05/1.522, allocations: 3.906 kB / 1.016 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/1.522, allocations: 4.062 kB / 1.016 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.033e-06/1.522, allocations: 3.984 kB / 1.016 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002431/1.523, allocations: 178.1 kB / 1.016 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003817/1.523, allocations: 0.5451 MB / 1.017 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.72e-05/1.523, allocations: 85.02 kB / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/1.523, allocations: 0 / 1.017 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/1.523, allocations: 15.42 kB / 1.017 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/1.523, allocations: 7.984 kB / 1.017 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.227e-05/1.524, allocations: 8 kB / 1.017 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.85e-05/1.524, allocations: 82.22 kB / 1.017 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00119/1.525, allocations: 12 kB / 1.017 GB, free: 3.617 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.000173/1.525, allocations: 105.9 kB / 1.017 GB, free: 3.512 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002363/1.525, allocations: 76.88 kB / 1.017 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.525, allocations: 3.938 kB / 1.017 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001164/1.525, allocations: 60.02 kB / 1.017 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004531/1.526, allocations: 26.19 kB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004442/1.526, allocations: 86.72 kB / 1.017 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004017/1.527, allocations: 0.6997 MB / 1.018 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of SimCode: time 9.72e-07/1.527, allocations: 3.938 kB / 1.018 GB, free: 2.535 MB / 0.6355 GB