Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.199/2.199, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002233/0.002233, allocations: 189.2 kB / 360.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.2 MB / 0.6188 GB, free: 13.19 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 88.34 kB / 0.7318 GB, free: 45.07 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.106e-05/1.12e-05, allocations: 0 / 0.8503 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5851/0.5852, allocations: 115.2 MB / 0.9628 GB, free: 78.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2018/0.787, allocations: 137.1 MB / 1.097 GB, free: 3.699 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/0.7873, allocations: 69.45 kB / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008234/0.7956, allocations: 1.488 MB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.283e-06/0.7956, allocations: 0 / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004321/0.7961, allocations: 357.4 kB / 1.099 GB, free: 1.789 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.7961, allocations: 12.38 kB / 1.099 GB, free: 1.781 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.566e-05/0.7962, allocations: 13.75 kB / 1.099 GB, free: 1.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.7964, allocations: 167.1 kB / 1.099 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.613e-05/0.7964, allocations: 11.89 kB / 1.099 GB, free: 1.555 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.867e-05/0.7964, allocations: 4 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.48e-05/0.7965, allocations: 11.94 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.464e-05/0.7966, allocations: 42.3 kB / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.7966, allocations: 0 / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.7967, allocations: 0 / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.7967, allocations: 0 / 1.099 GB, free: 1.492 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.7971, allocations: 269.4 kB / 1.099 GB, free: 1.191 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.87e-05/0.7972, allocations: 31.09 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.095e-05/0.7973, allocations: 4.859 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.33e-05/0.7973, allocations: 4.062 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.92e-05/0.7974, allocations: 59.58 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.7974, allocations: 0 / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002067/0.7976, allocations: 53.59 kB / 1.099 GB, free: 1.016 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.7977, allocations: 55.41 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/0.7978, allocations: 105 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.7978, allocations: 25.7 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.7979, allocations: 84.14 kB / 1.099 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.379e-05/0.7979, allocations: 3.906 kB / 1.099 GB, free: 0.7188 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.7979, allocations: 8 kB / 1.099 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.7981, allocations: 314.8 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.7982, allocations: 24 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001252/0.7983, allocations: 55.3 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/0.7986, allocations: 35.97 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.7986, allocations: 0 / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005046/0.7991, allocations: 117.5 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.7992, allocations: 8.062 kB / 1.1 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/0.7992, allocations: 7.938 kB / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/0.7992, allocations: 0 / 1.1 GB, free: 140 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.662e-05/0.7993, allocations: 4 kB / 1.1 GB, free: 136 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.7993, allocations: 5.547 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003449/0.7997, allocations: 43.88 kB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.919e-05/0.7997, allocations: 4 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,booToInt.y,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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.0001094/0.7998, allocations: 109.8 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.7999, allocations: 11.56 kB / 1.1 GB, free: 15.96 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.7999, allocations: 4 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.7999, allocations: 8.703 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7999, allocations: 0 / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.8, allocations: 3.984 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.8001, allocations: 134.2 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.8001, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.8001, allocations: 4 kB / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.8002, allocations: 0 / 1.1 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.8002, allocations: 9.594 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.8002, allocations: 7.656 kB / 1.1 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.8002, allocations: 4 kB / 1.1 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001344/0.8003, allocations: 81.88 kB / 1.1 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.805e-05/0.8004, allocations: 77.11 kB / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/0.8004, allocations: 0 / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.392e-05/0.8005, allocations: 0 / 1.1 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.8005, allocations: 7.984 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.202e-06/0.8005, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.178e-05/0.8006, allocations: 91.17 kB / 1.101 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002977/0.8009, allocations: 23.94 kB / 1.101 GB, free: 15.44 MB / 0.7136 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,$whenCondition2,booToInt.y,booPul.y) * 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.0001733/0.8011, allocations: 111.2 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.8014, allocations: 86.33 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8014, allocations: 3.938 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.355e-05/0.8015, allocations: 12 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002233/0.8017, allocations: 8 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002544/0.802, allocations: 72.66 kB / 1.101 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.8022, allocations: 0.6954 MB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/0.8022, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.004199/0.8064, allocations: 0.9403 MB / 1.102 GB, free: 13.52 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)