Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.From_degC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [: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.327/1.327, allocations: 289.8 MB / 297 MB, free: 12.62 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 187.1 kB / 366.3 MB, free: 11.9 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1/1, allocations: 205.1 MB / 0.6256 GB, free: 2.004 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008259/0.0008258, allocations: 90.7 kB / 0.7395 GB, free: 47.01 MB / 0.5183 GB Notification: Performance of FrontEnd - loaded program: time 7.975e-06/8.005e-06, allocations: 4 kB / 0.859 GB, free: 7.156 MB / 0.5964 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4494, allocations: 116.3 MB / 0.9725 GB, free: 81.46 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1304/0.5798, allocations: 137.7 MB / 1.107 GB, free: 6.219 MB / 0.7058 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001751/0.58, allocations: 67.95 kB / 1.107 GB, free: 6.152 MB / 0.7058 GB Notification: Performance of FrontEnd: time 0.002496/0.5825, allocations: 0.8992 MB / 1.108 GB, free: 5.273 MB / 0.7058 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.5826, allocations: 4.5 kB / 1.108 GB, free: 5.27 MB / 0.7058 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.000284/0.5829, allocations: 372 kB / 1.108 GB, free: 4.863 MB / 0.7058 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.5829, allocations: 8.031 kB / 1.108 GB, free: 4.855 MB / 0.7058 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.352e-05/0.5829, allocations: 13.28 kB / 1.108 GB, free: 4.844 MB / 0.7058 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.5831, allocations: 189.3 kB / 1.109 GB, free: 4.621 MB / 0.7058 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.5831, allocations: 0 / 1.109 GB, free: 4.621 MB / 0.7058 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.194e-05/0.5831, allocations: 5.156 kB / 1.109 GB, free: 4.617 MB / 0.7058 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.111e-05/0.5832, allocations: 39.91 kB / 1.109 GB, free: 4.578 MB / 0.7058 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001168/0.5833, allocations: 86.45 kB / 1.109 GB, free: 4.484 MB / 0.7058 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.5833, allocations: 4.531 kB / 1.109 GB, free: 4.48 MB / 0.7058 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.417e-06/0.5834, allocations: 0 / 1.109 GB, free: 4.48 MB / 0.7058 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.171e-06/0.5834, allocations: 4.672 kB / 1.109 GB, free: 4.477 MB / 0.7058 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004727/0.5838, allocations: 421.5 kB / 1.109 GB, free: 4.027 MB / 0.7058 GB Notification: Performance of preOpt comSubExp (simulation): time 4.833e-05/0.5839, allocations: 45.5 kB / 1.109 GB, free: 3.969 MB / 0.7058 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.476e-05/0.5839, allocations: 13.72 kB / 1.109 GB, free: 3.949 MB / 0.7058 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.584, allocations: 5.906 kB / 1.109 GB, free: 3.945 MB / 0.7058 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.061e-05/0.584, allocations: 38.47 kB / 1.109 GB, free: 3.898 MB / 0.7058 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.584, allocations: 0 / 1.109 GB, free: 3.898 MB / 0.7058 GB Notification: Performance of matching and sorting (n=2): time 0.0001387/0.5841, allocations: 46.3 kB / 1.109 GB, free: 3.848 MB / 0.7058 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.5842, allocations: 89.16 kB / 1.109 GB, free: 3.742 MB / 0.7058 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.5843, allocations: 127.5 kB / 1.109 GB, free: 3.602 MB / 0.7058 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.5843, allocations: 25.7 kB / 1.109 GB, free: 3.57 MB / 0.7058 GB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.5844, allocations: 107.9 kB / 1.11 GB, free: 3.461 MB / 0.7058 GB Notification: Performance of collectInitialBindings (initialization): time 6.612e-06/0.5844, allocations: 7.906 kB / 1.11 GB, free: 3.453 MB / 0.7058 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-06/0.5844, allocations: 0 / 1.11 GB, free: 3.453 MB / 0.7058 GB Notification: Performance of setup shared object (initialization): time 9.412e-05/0.5845, allocations: 314.8 kB / 1.11 GB, free: 3.137 MB / 0.7058 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.444e-05/0.5845, allocations: 12 kB / 1.11 GB, free: 3.125 MB / 0.7058 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.5845, allocations: 21.72 kB / 1.11 GB, free: 3.098 MB / 0.7058 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.5846, allocations: 11.91 kB / 1.11 GB, free: 3.086 MB / 0.7058 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.5846, allocations: 0 / 1.11 GB, free: 3.086 MB / 0.7058 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.582e-05/0.5847, allocations: 65.53 kB / 1.11 GB, free: 3.016 MB / 0.7058 GB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.5847, allocations: 4 kB / 1.11 GB, free: 3.012 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.5847, allocations: 0 / 1.11 GB, free: 3.012 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.5847, allocations: 1.562 kB / 1.11 GB, free: 3.012 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.284e-05/0.5848, allocations: 12.06 kB / 1.11 GB, free: 3 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.517e-06/0.5848, allocations: 0 / 1.11 GB, free: 3 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.977e-05/0.5848, allocations: 2.469 kB / 1.11 GB, free: 3 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.322e-06/0.5848, allocations: 4 kB / 1.11 GB, free: 2.996 MB / 0.7058 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.486e-05/0.5849, allocations: 101 kB / 1.11 GB, free: 2.891 MB / 0.7058 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.495e-05/0.5849, allocations: 11.81 kB / 1.11 GB, free: 2.879 MB / 0.7058 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.585, allocations: 15.58 kB / 1.11 GB, free: 2.863 MB / 0.7058 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.585, allocations: 0 / 1.11 GB, free: 2.863 MB / 0.7058 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.585, allocations: 0.8438 kB / 1.11 GB, free: 2.863 MB / 0.7058 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.585, allocations: 4 kB / 1.11 GB, free: 2.859 MB / 0.7058 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003228/0.5853, allocations: 455.3 kB / 1.111 GB, free: 2.363 MB / 0.7058 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.5853, allocations: 0 / 1.111 GB, free: 2.363 MB / 0.7058 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.503e-05/0.5854, allocations: 5.5 kB / 1.111 GB, free: 2.359 MB / 0.7058 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5854, allocations: 3.984 kB / 1.111 GB, free: 2.355 MB / 0.7058 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.699e-06/0.5854, allocations: 0 / 1.111 GB, free: 2.355 MB / 0.7058 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.5854, allocations: 0 / 1.111 GB, free: 2.355 MB / 0.7058 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.5854, allocations: 4 kB / 1.111 GB, free: 2.352 MB / 0.7058 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.748e-05/0.5855, allocations: 101.1 kB / 1.111 GB, free: 2.227 MB / 0.7058 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.5855, allocations: 88.94 kB / 1.111 GB, free: 2.121 MB / 0.7058 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.5856, allocations: 4 kB / 1.111 GB, free: 2.117 MB / 0.7058 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.364e-05/0.5856, allocations: 0 / 1.111 GB, free: 2.117 MB / 0.7058 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.5856, allocations: 4.031 kB / 1.111 GB, free: 2.113 MB / 0.7058 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-06/0.5856, allocations: 0 / 1.111 GB, free: 2.113 MB / 0.7058 GB Notification: Performance of sort global known variables: time 5.977e-05/0.5857, allocations: 113.9 kB / 1.111 GB, free: 2.004 MB / 0.7058 GB Notification: Performance of remove unused functions: time 0.0001691/0.5858, allocations: 12.56 kB / 1.111 GB, free: 1.992 MB / 0.7058 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 9.682e-05/0.5859, allocations: 100.9 kB / 1.111 GB, free: 1.887 MB / 0.7058 GB Notification: Performance of simCode: created initialization part: time 6.363e-05/0.586, allocations: 19.94 kB / 1.111 GB, free: 1.867 MB / 0.7058 GB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.586, allocations: 0 / 1.111 GB, free: 1.867 MB / 0.7058 GB Notification: Performance of simCode: created simulation system equations: time 1.08e-05/0.586, allocations: 8.188 kB / 1.111 GB, free: 1.859 MB / 0.7058 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.518e-05/0.5861, allocations: 12.89 kB / 1.111 GB, free: 1.848 MB / 0.7058 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/0.5864, allocations: 113 kB / 1.111 GB, free: 1.715 MB / 0.7058 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.5866, allocations: 0.7071 MB / 1.112 GB, free: 0.9844 MB / 0.7058 GB Notification: Performance of SimCode: time 2.7e-07/0.5866, allocations: 0 / 1.112 GB, free: 0.9844 MB / 0.7058 GB Notification: Performance of Templates: time 0.001816/0.5884, allocations: 413 kB / 1.112 GB, free: 0.6133 MB / 0.7058 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1)