Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.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.BooleanToInteger,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_BooleanToInteger",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.241/2.241, allocations: 248.6 MB / 255.9 MB, free: 7.133 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.001652/0.001652, allocations: 183.8 kB / 315.1 MB, free: 4.301 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.917/1.917, allocations: 205.1 MB / 0.5658 GB, free: 428 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.001275/0.001275, allocations: 88.39 kB / 0.67 GB, free: 5.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4491/0.4504, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.6508, allocations: 106.2 MB / 0.8835 GB, free: 13.39 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6892/1.34, allocations: 131.5 MB / 1.012 GB, free: 8.496 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002643/1.34, allocations: 61.97 kB / 1.012 GB, free: 8.465 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.003294/1.344, allocations: 0.6909 MB / 1.013 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/1.344, allocations: 12 kB / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.968e-05/1.344, allocations: 0 / 1.013 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/1.344, allocations: 173 kB / 1.013 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/1.344, allocations: 3.938 kB / 1.013 GB, free: 7.578 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/1.344, allocations: 3.984 kB / 1.013 GB, free: 7.574 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.115e-05/1.344, allocations: 11.38 kB / 1.013 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.633e-05/1.344, allocations: 37.64 kB / 1.013 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/1.344, allocations: 0 / 1.013 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/1.344, allocations: 15.17 kB / 1.013 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/1.344, allocations: 0 / 1.013 GB, free: 7.512 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/1.345, allocations: 224.6 kB / 1.013 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002019/1.345, allocations: 38.12 kB / 1.013 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.018e-05/1.345, allocations: 8.922 kB / 1.013 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.007e-06/1.345, allocations: 0 / 1.013 GB, free: 7.211 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.912e-05/1.345, allocations: 61.69 kB / 1.013 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.943e-06/1.345, allocations: 0 / 1.013 GB, free: 7.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001875/1.345, allocations: 45.3 kB / 1.013 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.396e-05/1.345, allocations: 55.41 kB / 1.013 GB, free: 7.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/1.345, allocations: 96.67 kB / 1.013 GB, free: 6.934 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/1.346, allocations: 25.7 kB / 1.013 GB, free: 6.902 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.879e-05/1.346, allocations: 87.2 kB / 1.013 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.12e-05/1.346, allocations: 15.83 kB / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.909e-06/1.346, allocations: 0 / 1.014 GB, free: 6.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.346, allocations: 326.2 kB / 1.014 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.891e-05/1.346, allocations: 7 kB / 1.014 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.366e-05/1.346, allocations: 17.22 kB / 1.014 GB, free: 6.449 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.761e-05/1.346, allocations: 11.97 kB / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.346, allocations: 0 / 1.014 GB, free: 6.438 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001258/1.346, allocations: 53.44 kB / 1.014 GB, free: 6.383 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/1.346, allocations: 4 kB / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/1.346, allocations: 0 / 1.014 GB, free: 6.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/1.346, allocations: 4 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/1.346, allocations: 3.875 kB / 1.014 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/1.346, allocations: 7.906 kB / 1.014 GB, free: 6.367 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001082/1.346, allocations: 11.92 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.056e-05/1.346, allocations: 4 kB / 1.014 GB, free: 6.352 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: 5 ($whenCondition1,booToInt.y,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.238e-05/1.346, allocations: 105 kB / 1.014 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/1.346, allocations: 3.906 kB / 1.014 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.213e-05/1.347, allocations: 8 kB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.347, allocations: 0 / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.347, allocations: 0 / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.421e-06/1.347, allocations: 0 / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001961/1.347, allocations: 144.8 kB / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/1.347, allocations: 0 / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/1.347, allocations: 0 / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.827e-06/1.347, allocations: 0 / 1.014 GB, free: 6.055 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.423e-05/1.347, allocations: 12.78 kB / 1.014 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/1.347, allocations: 3.938 kB / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.347, allocations: 0 / 1.014 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002408/1.347, allocations: 80.52 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004565/1.348, allocations: 448 kB / 1.015 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.324e-05/1.348, allocations: 89.02 kB / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/1.348, allocations: 0 / 1.015 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/1.348, allocations: 9.672 kB / 1.015 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/1.348, allocations: 7.938 kB / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/1.348, allocations: 0 / 1.015 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.344e-05/1.348, allocations: 85.03 kB / 1.015 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001127/1.349, allocations: 15.89 kB / 1.015 GB, free: 5.281 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: 4 ($whenCondition1,booToInt.y,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.0001582/1.349, allocations: 99.25 kB / 1.015 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001306/1.349, allocations: 23.56 kB / 1.015 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.35, allocations: 4 kB / 1.015 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.242e-05/1.35, allocations: 11.88 kB / 1.015 GB, free: 5.148 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002547/1.35, allocations: 7.984 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003246/1.35, allocations: 67.45 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00041/1.351, allocations: 0.6955 MB / 1.016 GB, free: 4.336 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/1.351, allocations: 0 / 1.016 GB, free: 4.336 MB / 0.6355 GB