Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.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.Conversions.Validation.BooleanToReal,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToReal",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.356/2.356, allocations: 248.6 MB / 255.9 MB, free: 7.176 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.001598/0.001598, allocations: 183.9 kB / 315.1 MB, free: 4.273 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.754/1.754, allocations: 205.1 MB / 0.5658 GB, free: 324 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.001281/0.001281, allocations: 94.81 kB / 0.67 GB, free: 5.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4745/0.4758, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2028/0.6786, allocations: 106.2 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6436/1.322, allocations: 131.5 MB / 1.012 GB, free: 8.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002578/1.323, allocations: 72.72 kB / 1.012 GB, free: 8.379 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.002695/1.325, allocations: 0.6925 MB / 1.013 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/1.325, allocations: 8 kB / 1.013 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/1.325, allocations: 8.75 kB / 1.013 GB, free: 7.684 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/1.326, allocations: 167 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.326, allocations: 1.25 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.068e-05/1.326, allocations: 0 / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.9e-05/1.326, allocations: 15.48 kB / 1.013 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.397e-05/1.326, allocations: 40.89 kB / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/1.326, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/1.326, allocations: 0 / 1.013 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/1.326, allocations: 3.938 kB / 1.013 GB, free: 7.422 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003776/1.326, allocations: 233.1 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/1.327, allocations: 33.2 kB / 1.013 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.765e-05/1.327, allocations: 12.67 kB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.142e-05/1.327, allocations: 0 / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.22e-05/1.327, allocations: 55.12 kB / 1.013 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.613e-06/1.327, allocations: 0 / 1.013 GB, free: 7.055 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001735/1.327, allocations: 53.03 kB / 1.013 GB, free: 7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/1.327, allocations: 51.41 kB / 1.013 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.649e-05/1.327, allocations: 103.5 kB / 1.013 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/1.327, allocations: 25.7 kB / 1.013 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.53e-05/1.327, allocations: 87.95 kB / 1.013 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/1.327, allocations: 7.844 kB / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.501e-06/1.327, allocations: 0 / 1.014 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001427/1.327, allocations: 317.9 kB / 1.014 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.887e-05/1.327, allocations: 10.75 kB / 1.014 GB, free: 6.387 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.755e-05/1.327, allocations: 25.58 kB / 1.014 GB, free: 6.359 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.648e-05/1.328, allocations: 4 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/1.328, allocations: 0 / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001178/1.328, allocations: 53.94 kB / 1.014 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.328, allocations: 4 kB / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.328, allocations: 0 / 1.014 GB, free: 6.297 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.328, allocations: 3.906 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.484e-05/1.328, allocations: 12.03 kB / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/1.328, allocations: 0 / 1.014 GB, free: 6.281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/1.328, allocations: 15.86 kB / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/1.328, allocations: 0 / 1.014 GB, free: 6.27 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.488e-05/1.328, allocations: 108.9 kB / 1.014 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.65e-05/1.328, allocations: 3.906 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.684e-05/1.328, allocations: 8.094 kB / 1.014 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/1.328, allocations: 7.984 kB / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.328, allocations: 0 / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.328, allocations: 0 / 1.014 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/1.328, allocations: 149.8 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/1.328, allocations: 7.906 kB / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.116e-05/1.328, allocations: 0 / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.328, allocations: 0 / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-06/1.328, allocations: 0 / 1.014 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/1.328, allocations: 3.938 kB / 1.014 GB, free: 5.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/1.328, allocations: 4 kB / 1.014 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001372/1.329, allocations: 75.16 kB / 1.014 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002864/1.329, allocations: 460.8 kB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.423e-05/1.329, allocations: 77.11 kB / 1.015 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/1.329, allocations: 4 kB / 1.015 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.312e-05/1.329, allocations: 8 kB / 1.015 GB, free: 5.281 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.738e-05/1.329, allocations: 7.984 kB / 1.015 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/1.329, allocations: 3.906 kB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.731e-05/1.329, allocations: 84.53 kB / 1.015 GB, free: 5.191 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001067/1.33, allocations: 8 kB / 1.015 GB, free: 5.184 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: 3 ($whenCondition1,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001484/1.33, allocations: 99.23 kB / 1.015 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001196/1.331, allocations: 22.94 kB / 1.015 GB, free: 5.062 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/1.331, allocations: 4.062 kB / 1.015 GB, free: 5.059 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.98e-05/1.331, allocations: 10.88 kB / 1.015 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/1.331, allocations: 5.891 kB / 1.015 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002921/1.331, allocations: 79.56 kB / 1.015 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/1.332, allocations: 0.6915 MB / 1.016 GB, free: 4.238 MB / 0.6355 GB Notification: Performance of SimCode: time 1.122e-06/1.332, allocations: 0 / 1.016 GB, free: 4.238 MB / 0.6355 GB