Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad") [: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.0.1-maint.8.0.x/package.mo): time 1.317/1.317, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009295/0.0009295, allocations: 177.3 kB / 361.1 MB, free: 7.121 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.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007667/0.0007667, allocations: 86.11 kB / 0.7325 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.851e-06/5.971e-06, allocations: 0 / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4151, allocations: 115.3 MB / 0.9637 GB, free: 78.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1278/0.5429, allocations: 136.8 MB / 1.097 GB, free: 3.285 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001802/0.5432, allocations: 71.95 kB / 1.097 GB, free: 3.215 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002494/0.5457, allocations: 0.8389 MB / 1.098 GB, free: 2.398 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.5457, allocations: 0 / 1.098 GB, free: 2.398 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002835/0.546, allocations: 365.7 kB / 1.098 GB, free: 2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.546, allocations: 12.03 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.752e-05/0.5461, allocations: 11.81 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001433/0.5462, allocations: 182.9 kB / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.044e-05/0.5462, allocations: 0 / 1.099 GB, free: 1.758 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.5462, allocations: 4 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.599e-05/0.5463, allocations: 32 kB / 1.099 GB, free: 1.723 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001211/0.5465, allocations: 84.36 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.5465, allocations: 0 / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.827e-06/0.5465, allocations: 5.25 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.5465, allocations: 0.6562 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004742/0.547, allocations: 427.6 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.3e-05/0.547, allocations: 34.34 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.822e-05/0.5471, allocations: 21.73 kB / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.255e-06/0.5471, allocations: 96 / 1.099 GB, free: 1.098 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.5471, allocations: 36.03 kB / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.5471, allocations: 0 / 1.099 GB, free: 1.055 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001533/0.5473, allocations: 46.14 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.034e-05/0.5473, allocations: 78.45 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.611e-05/0.5474, allocations: 122.3 kB / 1.1 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.5474, allocations: 26.39 kB / 1.1 GB, free: 0.75 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.408e-05/0.5475, allocations: 118.9 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.196e-06/0.5475, allocations: 7.906 kB / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-06/0.5475, allocations: 0 / 1.1 GB, free: 0.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.379e-05/0.5476, allocations: 314.8 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.5476, allocations: 4 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.149e-05/0.5477, allocations: 21.7 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.37e-05/0.5477, allocations: 13.72 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.223e-06/0.5477, allocations: 0 / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.741e-05/0.5478, allocations: 54.23 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.5478, allocations: 4.219 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.5478, allocations: 4.469 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.5478, allocations: 12.52 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.5479, allocations: 5.625 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.5479, allocations: 1.594 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.5479, allocations: 15.25 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.548, allocations: 2.156 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.01e-05/0.548, allocations: 101.6 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.45e-05/0.5481, allocations: 8.562 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.5481, allocations: 11.59 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5481, allocations: 0.6875 kB / 1.1 GB, free: 52 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.5481, allocations: 3.984 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.5481, allocations: 0.8125 kB / 1.1 GB, free: 48 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003376/0.5485, allocations: 452.1 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5485, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.445e-05/0.5485, allocations: 4 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.5485, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.5485, allocations: 6.375 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.5485, allocations: 0 / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.5485, allocations: 2.5 kB / 1.101 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.569e-05/0.5486, allocations: 95.53 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.951e-05/0.5487, allocations: 89 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.5487, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.326e-05/0.5487, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.119e-05/0.5487, allocations: 0 / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.767e-06/0.5487, allocations: 4 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.303e-05/0.5488, allocations: 105.6 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001868/0.549, allocations: 15.91 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 8.291e-05/0.5491, allocations: 103.6 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.58e-05/0.5492, allocations: 17.5 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.5492, allocations: 0 / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.5492, allocations: 7.938 kB / 1.101 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.265e-05/0.5493, allocations: 8.734 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000235/0.5495, allocations: 105.4 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.5498, allocations: 0.7152 MB / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.5498, allocations: 0 / 1.102 GB, free: 14.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.001751/0.5515, allocations: 378 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)