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.BooleanToReal.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.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal") [: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.105/2.105, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.002412/0.002412, allocations: 193.2 kB / 360.4 MB, free: 7.484 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.625/1.625, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001679/0.001679, allocations: 89.38 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.676e-06/8.836e-06, allocations: 0 / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5473/0.5473, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.7469, allocations: 137.1 MB / 1.097 GB, free: 3.633 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/0.7472, allocations: 67.97 kB / 1.097 GB, free: 3.566 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.008215/0.7554, allocations: 1.49 MB / 1.098 GB, free: 2.129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.7555, allocations: 3.812 kB / 1.098 GB, free: 2.129 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.0004086/0.7559, allocations: 360.7 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.756, allocations: 8.656 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.532e-05/0.756, allocations: 7.906 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.7562, allocations: 163.8 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.7562, allocations: 3.906 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.123e-05/0.7563, allocations: 8.812 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.258e-05/0.7563, allocations: 11.94 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.191e-05/0.7564, allocations: 41.17 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.7565, allocations: 0.5938 kB / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.7565, allocations: 0 / 1.099 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.7565, allocations: 4 kB / 1.099 GB, free: 1.441 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005046/0.757, allocations: 281.3 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.7571, allocations: 27.14 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.7571, allocations: 8.922 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.842e-06/0.7572, allocations: 3.938 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.5e-05/0.7573, allocations: 58.39 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 2.034e-06/0.7573, allocations: 0 / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001875/0.7575, allocations: 53.59 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.7575, allocations: 59.34 kB / 1.099 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.7576, allocations: 97 kB / 1.099 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.241e-05/0.7577, allocations: 29.7 kB / 1.099 GB, free: 0.7461 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.98e-05/0.7577, allocations: 84.12 kB / 1.099 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.7578, allocations: 7.906 kB / 1.099 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.7578, allocations: 8 kB / 1.099 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001297/0.7579, allocations: 314.8 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.7581, allocations: 31.98 kB / 1.1 GB, free: 304 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.7582, allocations: 43.31 kB / 1.1 GB, free: 252 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.7585, allocations: 39.95 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.7585, allocations: 0 / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004688/0.759, allocations: 121.6 kB / 1.1 GB, free: 84 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.759, allocations: 4 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.759, allocations: 0 / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.759, allocations: 0 / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.174e-05/0.7591, allocations: 7.75 kB / 1.1 GB, free: 76 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.7591, allocations: 3.906 kB / 1.1 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.7595, allocations: 41.97 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.7595, allocations: 4 kB / 1.1 GB, free: 28 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: 4 ($whenCondition1,$whenCondition2,$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.0001534/0.7597, allocations: 122.5 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.461e-05/0.7597, allocations: 3.906 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.504e-05/0.7597, allocations: 8 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.7598, allocations: 0.5156 kB / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.7598, allocations: 0 / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7598, allocations: 0 / 1.1 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.7599, allocations: 142.2 kB / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7599, allocations: 0 / 1.1 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.76, allocations: 7.844 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.76, allocations: 0 / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.76, allocations: 8 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.76, allocations: 0 / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.76, allocations: 0.7031 kB / 1.1 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001296/0.7602, allocations: 78.66 kB / 1.1 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.468e-05/0.7602, allocations: 77.11 kB / 1.1 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.7602, allocations: 3.984 kB / 1.1 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.463e-05/0.7603, allocations: 3.938 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.513e-05/0.7603, allocations: 12.42 kB / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.101e-06/0.7603, allocations: 0 / 1.101 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.355e-05/0.7604, allocations: 87.28 kB / 1.101 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002931/0.7607, allocations: 19.98 kB / 1.101 GB, free: 15.38 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: 3 ($whenCondition1,$whenCondition2,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.0001637/0.7609, allocations: 107.2 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002393/0.7611, allocations: 85.62 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7611, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.502e-05/0.7612, allocations: 12 kB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.7614, allocations: 16.11 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002318/0.7617, allocations: 69.19 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002894/0.762, allocations: 0.6915 MB / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of SimCode: time 7.11e-07/0.762, allocations: 0 / 1.102 GB, free: 14.35 MB / 0.7136 GB Notification: Performance of Templates: time 0.003996/0.766, allocations: 0.9337 MB / 1.102 GB, free: 13.46 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.BooleanToReal.pipe 2>&1)