Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.372/1.372, allocations: 289.8 MB / 297.1 MB, free: 6.609 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 181.2 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.109/1.109, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008314/0.0008316, allocations: 93.25 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4117/0.4117, allocations: 116.3 MB / 0.9726 GB, free: 68.32 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.5434, allocations: 138.2 MB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001814/0.5436, allocations: 75.89 kB / 1.108 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.004673/0.5483, allocations: 1.487 MB / 1.109 GB, free: 8.742 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.5483, allocations: 0 / 1.109 GB, free: 8.742 MB / 0.7136 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.0002742/0.5486, allocations: 372.1 kB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.5486, allocations: 12.03 kB / 1.109 GB, free: 8.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.5487, allocations: 7.906 kB / 1.109 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.5488, allocations: 168.6 kB / 1.11 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.5488, allocations: 3.906 kB / 1.11 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.024e-05/0.5488, allocations: 4 kB / 1.11 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.287e-05/0.5489, allocations: 15.98 kB / 1.11 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.935e-05/0.5489, allocations: 29.7 kB / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.36e-06/0.549, allocations: 0 / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.549, allocations: 0 / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.226e-06/0.549, allocations: 0 / 1.11 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003032/0.5493, allocations: 277.4 kB / 1.11 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.134e-05/0.5494, allocations: 30.52 kB / 1.11 GB, free: 7.699 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.982e-05/0.5494, allocations: 12.92 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.979e-06/0.5494, allocations: 0 / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.391e-05/0.5494, allocations: 61.86 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.5495, allocations: 0 / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.00012/0.5496, allocations: 53.59 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.281e-05/0.5496, allocations: 51.41 kB / 1.11 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.5497, allocations: 107.3 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.5497, allocations: 29.7 kB / 1.11 GB, free: 7.348 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.464e-05/0.5497, allocations: 86.3 kB / 1.11 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 9.188e-06/0.5498, allocations: 7.906 kB / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.728e-06/0.5498, allocations: 0 / 1.11 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.5499, allocations: 318.8 kB / 1.111 GB, free: 6.934 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.46e-05/0.5499, allocations: 27.98 kB / 1.111 GB, free: 6.906 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.378e-05/0.55, allocations: 42.58 kB / 1.111 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001664/0.5502, allocations: 39.95 kB / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5502, allocations: 0 / 1.111 GB, free: 6.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002759/0.5505, allocations: 121.5 kB / 1.111 GB, free: 6.691 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.486e-06/0.5505, allocations: 4 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.5505, allocations: 0 / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.5505, allocations: 3.938 kB / 1.111 GB, free: 6.684 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.431e-05/0.5505, allocations: 4 kB / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.5506, allocations: 0 / 1.111 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.5507, allocations: 47.94 kB / 1.111 GB, free: 6.633 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.831e-05/0.5508, allocations: 7.984 kB / 1.111 GB, free: 6.625 MB / 0.7136 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 6.568e-05/0.5508, allocations: 112.9 kB / 1.111 GB, free: 6.508 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.148e-05/0.5508, allocations: 7.906 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.5509, allocations: 4 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.352e-06/0.5509, allocations: 0.8438 kB / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.5509, allocations: 0 / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.5509, allocations: 0 / 1.111 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.186e-05/0.551, allocations: 146.3 kB / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.551, allocations: 0 / 1.111 GB, free: 6.305 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.592e-05/0.551, allocations: 4 kB / 1.111 GB, free: 6.301 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.428e-06/0.551, allocations: 4 kB / 1.111 GB, free: 6.297 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.875e-06/0.551, allocations: 7.906 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.551, allocations: 0 / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.551, allocations: 0.6562 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.031e-05/0.5511, allocations: 81.09 kB / 1.111 GB, free: 6.191 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.685e-05/0.5512, allocations: 77.11 kB / 1.111 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.271e-05/0.5512, allocations: 0 / 1.111 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.459e-05/0.5512, allocations: 4 kB / 1.111 GB, free: 6.094 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.928e-05/0.5512, allocations: 4 kB / 1.111 GB, free: 6.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.988e-06/0.5512, allocations: 4 kB / 1.111 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.075e-05/0.5513, allocations: 91.73 kB / 1.111 GB, free: 5.996 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001912/0.5515, allocations: 27.88 kB / 1.112 GB, free: 5.969 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.0001054/0.5516, allocations: 109.3 kB / 1.112 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.5517, allocations: 73.7 kB / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5518, allocations: 0 / 1.112 GB, free: 5.777 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.454e-05/0.5518, allocations: 19.88 kB / 1.112 GB, free: 5.758 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001294/0.5519, allocations: 13.19 kB / 1.112 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001552/0.5521, allocations: 67.78 kB / 1.112 GB, free: 5.656 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.5523, allocations: 0.6961 MB / 1.112 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of SimCode: time 2.9e-07/0.5523, allocations: 0 / 1.112 GB, free: 4.938 MB / 0.7136 GB Notification: Performance of Templates: time 0.002416/0.5547, allocations: 0.9462 MB / 1.113 GB, free: 4.027 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToInteger.pipe 2>&1)