Running: ./testmodel.py --libraries=/var/lib/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 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.405/2.405, allocations: 253.1 MB / 260.4 MB, free: 7.484 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00164/0.00164, allocations: 181.3 kB / 319.6 MB, free: 3.312 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.145/2.145, allocations: 205.4 MB / 0.5704 GB, free: 15.13 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001339/0.001339, allocations: 106.2 kB / 0.6746 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.097e-06/9.388e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.245, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6973/0.9423, allocations: 131.5 MB / 1.016 GB, free: 6.871 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/0.9427, allocations: 71.12 kB / 1.017 GB, free: 6.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002292/0.945, allocations: 355.8 kB / 1.017 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.945, allocations: 0 / 1.017 GB, free: 6.543 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.0005024/0.9455, allocations: 347.6 kB / 1.017 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.9456, allocations: 11.97 kB / 1.017 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.433e-05/0.9457, allocations: 4 kB / 1.017 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.9458, allocations: 168.4 kB / 1.017 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.15e-05/0.9459, allocations: 0 / 1.017 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.556e-05/0.9459, allocations: 0 / 1.017 GB, free: 5.945 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.635e-05/0.946, allocations: 11.69 kB / 1.017 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.702e-05/0.9461, allocations: 40.88 kB / 1.017 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.9461, allocations: 4 kB / 1.017 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.9462, allocations: 0 / 1.017 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.9462, allocations: 0 / 1.017 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004668/0.9466, allocations: 236.1 kB / 1.018 GB, free: 5.633 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002665/0.9469, allocations: 34.44 kB / 1.018 GB, free: 5.594 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.615e-05/0.947, allocations: 16.17 kB / 1.018 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.252e-05/0.9471, allocations: 0 / 1.018 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001315/0.9472, allocations: 50.81 kB / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 3.336e-06/0.9473, allocations: 0 / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002472/0.9475, allocations: 56.09 kB / 1.018 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.9476, allocations: 51.41 kB / 1.018 GB, free: 5.402 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.9477, allocations: 101.1 kB / 1.018 GB, free: 5.301 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.973e-05/0.9477, allocations: 29.7 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.434e-05/0.9478, allocations: 91.5 kB / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.597e-05/0.9478, allocations: 7.844 kB / 1.018 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.51e-06/0.9478, allocations: 0 / 1.018 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.948, allocations: 317.9 kB / 1.018 GB, free: 4.852 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.121e-05/0.948, allocations: 4 kB / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.593e-05/0.9481, allocations: 21.66 kB / 1.018 GB, free: 4.824 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.585e-05/0.9481, allocations: 15.17 kB / 1.018 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.9482, allocations: 0 / 1.018 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001328/0.9483, allocations: 48.58 kB / 1.018 GB, free: 4.762 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9483, allocations: 7.984 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.707e-06/0.9484, allocations: 0.875 kB / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.9484, allocations: 0 / 1.018 GB, free: 4.754 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.245e-05/0.9484, allocations: 7 kB / 1.018 GB, free: 4.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.404e-05/0.9485, allocations: 7.891 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000115/0.9486, allocations: 12.03 kB / 1.018 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.9486, allocations: 0 / 1.018 GB, free: 4.73 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 0.0001097/0.9488, allocations: 109 kB / 1.019 GB, free: 4.617 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.899e-05/0.9488, allocations: 3.906 kB / 1.019 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.111e-05/0.9489, allocations: 11.19 kB / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.9489, allocations: 0 / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9489, allocations: 384 / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.9489, allocations: 0 / 1.019 GB, free: 4.602 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.9491, allocations: 141.3 kB / 1.019 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.9491, allocations: 4 kB / 1.019 GB, free: 4.426 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.754e-05/0.9491, allocations: 7.938 kB / 1.019 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.9491, allocations: 0 / 1.019 GB, free: 4.418 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.298e-05/0.9492, allocations: 3.906 kB / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.9492, allocations: 0 / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.261e-06/0.9492, allocations: 4 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001508/0.9494, allocations: 71.34 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.9494, allocations: 81.05 kB / 1.019 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.946e-05/0.9495, allocations: 4 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.794e-05/0.9496, allocations: 11.98 kB / 1.019 GB, free: 4.215 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.9496, allocations: 11.3 kB / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.9497, allocations: 0 / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.813e-05/0.9497, allocations: 82.34 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002586/0.95, allocations: 11.91 kB / 1.019 GB, free: 4.117 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.0002135/0.9502, allocations: 95.25 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.9504, allocations: 23.7 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.9504, allocations: 0 / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.701e-05/0.9504, allocations: 19.02 kB / 1.019 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002544/0.9507, allocations: 7.812 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.9511, allocations: 74.92 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004158/0.9515, allocations: 0.6954 MB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of SimCode: time 1.193e-06/0.9515, allocations: 4.062 kB / 1.02 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.003601/0.9551, allocations: 0.5167 MB / 1.02 GB, free: 2.66 MB / 0.6355 GB