Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.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.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",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.212/2.212, allocations: 248.6 MB / 255.9 MB, free: 7.082 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.002505/0.002504, allocations: 184.6 kB / 315.1 MB, free: 4.266 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.338/2.338, allocations: 205.1 MB / 0.5658 GB, free: 320 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.00136/0.001359, allocations: 92.89 kB / 0.67 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5012/0.5026, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.7353, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7018/1.437, allocations: 131.9 MB / 1.012 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/1.437, allocations: 71.2 kB / 1.012 GB, free: 8.285 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.004756/1.442, allocations: 1.054 MB / 1.013 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.526e-05/1.442, allocations: 8 kB / 1.013 GB, free: 7.281 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.829e-05/1.442, allocations: 7.906 kB / 1.013 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001708/1.443, allocations: 171 kB / 1.014 GB, free: 7.066 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/1.443, allocations: 4 kB / 1.014 GB, free: 7.059 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.873e-05/1.443, allocations: 8 kB / 1.014 GB, free: 7.051 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001217/1.443, allocations: 22.69 kB / 1.014 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/1.443, allocations: 49.97 kB / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/1.443, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/1.443, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/1.443, allocations: 0 / 1.014 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006709/1.444, allocations: 293.7 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/1.444, allocations: 44.42 kB / 1.014 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.054e-05/1.444, allocations: 20.55 kB / 1.014 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/1.444, allocations: 7.922 kB / 1.014 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001426/1.444, allocations: 65.83 kB / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/1.444, allocations: 0 / 1.014 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002405/1.444, allocations: 65.22 kB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/1.445, allocations: 54.03 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/1.445, allocations: 108 kB / 1.014 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.571e-05/1.445, allocations: 29.64 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/1.445, allocations: 87.92 kB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.033e-05/1.445, allocations: 22.92 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-06/1.445, allocations: 0 / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.445, allocations: 322.5 kB / 1.015 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.575e-05/1.445, allocations: 11.19 kB / 1.015 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.281e-05/1.445, allocations: 41.94 kB / 1.015 GB, free: 5.793 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.879e-05/1.445, allocations: 15.8 kB / 1.015 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.445, allocations: 4 kB / 1.015 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002026/1.445, allocations: 76.53 kB / 1.015 GB, free: 5.707 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/1.445, allocations: 8 kB / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/1.445, allocations: 0 / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/1.445, allocations: 0 / 1.015 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.446, allocations: 19.92 kB / 1.015 GB, free: 5.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/1.446, allocations: 8.797 kB / 1.015 GB, free: 5.672 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/1.446, allocations: 15.98 kB / 1.015 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/1.446, allocations: 4 kB / 1.015 GB, free: 5.652 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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.0001787/1.446, allocations: 108.8 kB / 1.015 GB, free: 5.543 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/1.446, allocations: 11.91 kB / 1.015 GB, free: 5.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.314e-05/1.446, allocations: 12.36 kB / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/1.446, allocations: 0 / 1.015 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.994e-06/1.446, allocations: 4.5 kB / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/1.446, allocations: 0 / 1.015 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006053/1.447, allocations: 299 kB / 1.015 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.324e-06/1.447, allocations: 3.984 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/1.447, allocations: 18.06 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/1.447, allocations: 0 / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/1.447, allocations: 3.938 kB / 1.015 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/1.447, allocations: 4.141 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/1.447, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002312/1.447, allocations: 173 kB / 1.015 GB, free: 4.996 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003494/1.448, allocations: 0.532 MB / 1.016 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.24e-05/1.448, allocations: 81.02 kB / 1.016 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.174e-05/1.448, allocations: 3.984 kB / 1.016 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/1.448, allocations: 15.98 kB / 1.016 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.215e-05/1.448, allocations: 19.02 kB / 1.016 GB, free: 4.324 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/1.448, allocations: 4 kB / 1.016 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.635e-05/1.448, allocations: 86.22 kB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001146/1.45, allocations: 15.92 kB / 1.016 GB, free: 4.223 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: 6 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.000171/1.45, allocations: 102.4 kB / 1.016 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001936/1.45, allocations: 42.5 kB / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.45, allocations: 192 / 1.016 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.675e-05/1.45, allocations: 27.62 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/1.45, allocations: 13.88 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005731/1.451, allocations: 125.8 kB / 1.017 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000348/1.451, allocations: 0.6997 MB / 1.017 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of SimCode: time 9.21e-07/1.451, allocations: 0 / 1.017 GB, free: 3.191 MB / 0.6355 GB