Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.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.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_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.1.4-maint.8.1.x/package.mo): time 1.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 8.93 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.0008907/0.0008903, allocations: 188.8 kB / 366.3 MB, free: 11.37 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.044/1.044, allocations: 205.1 MB / 0.6256 GB, free: 11.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008049/0.0008049, allocations: 85.45 kB / 0.7396 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 6.812e-06/6.842e-06, allocations: 4 kB / 0.859 GB, free: 148.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.1516, allocations: 116.3 MB / 0.9726 GB, free: 31.76 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4334/0.585, allocations: 137.7 MB / 1.107 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001688/0.5852, allocations: 58.75 kB / 1.107 GB, free: 16.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 0.002269/0.5875, allocations: 0.8419 MB / 1.108 GB, free: 16.17 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.5875, allocations: 1.281 kB / 1.108 GB, free: 16.17 MB / 0.6823 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.0002137/0.5878, allocations: 366.2 kB / 1.108 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5878, allocations: 8.062 kB / 1.108 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.5878, allocations: 13.69 kB / 1.108 GB, free: 15.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001011/0.5879, allocations: 176.2 kB / 1.108 GB, free: 15.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.167e-05/0.588, allocations: 7.516 kB / 1.108 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.067e-05/0.588, allocations: 7.656 kB / 1.109 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.576e-05/0.5881, allocations: 30.5 kB / 1.109 GB, free: 15.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001031/0.5882, allocations: 79.81 kB / 1.109 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.5882, allocations: 0 / 1.109 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.5882, allocations: 5.312 kB / 1.109 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5882, allocations: 5.297 kB / 1.109 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003847/0.5886, allocations: 421.9 kB / 1.109 GB, free: 15.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 3.584e-05/0.5887, allocations: 42.91 kB / 1.109 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.216e-05/0.5887, allocations: 14.91 kB / 1.109 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.788e-06/0.5887, allocations: 1.219 kB / 1.109 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.07e-05/0.5887, allocations: 35.94 kB / 1.109 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.5887, allocations: 0 / 1.109 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001317/0.5889, allocations: 44.22 kB / 1.109 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.891e-05/0.5889, allocations: 83.16 kB / 1.109 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.934e-05/0.589, allocations: 122.8 kB / 1.109 GB, free: 14.86 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.21e-06/0.589, allocations: 25.7 kB / 1.109 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.221e-05/0.589, allocations: 113 kB / 1.109 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.589, allocations: 5.219 kB / 1.109 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.375e-06/0.589, allocations: 0.75 kB / 1.109 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 3.988e-05/0.5891, allocations: 318.1 kB / 1.11 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.943e-05/0.5891, allocations: 7.688 kB / 1.11 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.978e-05/0.5891, allocations: 26.91 kB / 1.11 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.565e-05/0.5892, allocations: 9.859 kB / 1.11 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5892, allocations: 0 / 1.11 GB, free: 14.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.183e-05/0.5893, allocations: 54.05 kB / 1.11 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.287e-06/0.5893, allocations: 5.281 kB / 1.11 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5893, allocations: 3.938 kB / 1.11 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.758e-06/0.5893, allocations: 5.125 kB / 1.11 GB, free: 14.35 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.257e-05/0.5894, allocations: 16.67 kB / 1.11 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.5894, allocations: 1.312 kB / 1.11 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.702e-05/0.5894, allocations: 5.188 kB / 1.11 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-06/0.5894, allocations: 1.312 kB / 1.11 GB, free: 14.34 MB / 0.6823 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 3.561e-05/0.5895, allocations: 108.6 kB / 1.11 GB, free: 14.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.357e-05/0.5895, allocations: 8.984 kB / 1.11 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.5895, allocations: 10.11 kB / 1.11 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.5895, allocations: 1.281 kB / 1.11 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.5895, allocations: 1.281 kB / 1.11 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.5896, allocations: 4 kB / 1.11 GB, free: 14.21 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.5898, allocations: 450.2 kB / 1.11 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5898, allocations: 0 / 1.11 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.368e-05/0.5898, allocations: 5.141 kB / 1.11 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5898, allocations: 0 / 1.11 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.571e-06/0.5899, allocations: 1.312 kB / 1.11 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.5899, allocations: 0.625 kB / 1.11 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5899, allocations: 6.844 kB / 1.11 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 6.037e-05/0.5899, allocations: 89.84 kB / 1.111 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.59, allocations: 85 kB / 1.111 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.59, allocations: 3.703 kB / 1.111 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.148e-05/0.59, allocations: 5.25 kB / 1.111 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.59, allocations: 5.344 kB / 1.111 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.59, allocations: 0 / 1.111 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.176e-05/0.5901, allocations: 104.2 kB / 1.111 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001682/0.5903, allocations: 11.81 kB / 1.111 GB, free: 13.5 MB / 0.6823 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 7.287e-05/0.5903, allocations: 100.7 kB / 1.111 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.666e-05/0.5904, allocations: 15.03 kB / 1.111 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.512e-06/0.5904, allocations: 0 / 1.111 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.5904, allocations: 15.62 kB / 1.111 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.807e-05/0.5905, allocations: 4.359 kB / 1.111 GB, free: 13.41 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002081/0.5907, allocations: 112 kB / 1.111 GB, free: 13.31 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002671/0.591, allocations: 0.7123 MB / 1.112 GB, free: 28.61 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.591, allocations: 0 / 1.112 GB, free: 28.61 MB / 0.698 GB Notification: Performance of Templates: time 0.001745/0.5928, allocations: 380 kB / 1.112 GB, free: 28.54 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_quad.pipe 2>&1)