Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_quad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.356/1.356, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.0009124/0.0009124, allocations: 177.3 kB / 366.3 MB, free: 1.957 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.041/1.041, allocations: 205.1 MB / 0.6256 GB, free: 5.777 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.0007818/0.0007818, allocations: 100.1 kB / 0.7396 GB, free: 39.61 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.366e-06, allocations: 4 kB / 0.859 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4302/0.4302, allocations: 116.3 MB / 0.9726 GB, free: 68.26 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.5631, allocations: 137.7 MB / 1.107 GB, free: 10.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001762/0.5634, allocations: 71.38 kB / 1.107 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002329/0.5657, allocations: 0.8342 MB / 1.108 GB, free: 9.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.539e-05/0.5657, allocations: 4 kB / 1.108 GB, free: 9.832 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0002725/0.566, allocations: 368.1 kB / 1.108 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.566, allocations: 8.031 kB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.428e-05/0.5661, allocations: 16.44 kB / 1.108 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.5662, allocations: 176.1 kB / 1.108 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.141e-05/0.5662, allocations: 4.5 kB / 1.109 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.5663, allocations: 8.844 kB / 1.109 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.486e-05/0.5664, allocations: 36.73 kB / 1.109 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.5665, allocations: 79.31 kB / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5665, allocations: 0 / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.5665, allocations: 0 / 1.109 GB, free: 9.059 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.5665, allocations: 4 kB / 1.109 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004451/0.567, allocations: 421.1 kB / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.015e-05/0.567, allocations: 33.16 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.551e-05/0.567, allocations: 21.84 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 8.926e-06/0.5671, allocations: 5.719 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.5671, allocations: 35.94 kB / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.5671, allocations: 0 / 1.109 GB, free: 8.477 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001348/0.5672, allocations: 45.59 kB / 1.109 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.5673, allocations: 77.11 kB / 1.109 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.341e-05/0.5674, allocations: 138.2 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.157e-06/0.5674, allocations: 25.7 kB / 1.109 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.5674, allocations: 108 kB / 1.109 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.5675, allocations: 3.906 kB / 1.109 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.5675, allocations: 0 / 1.109 GB, free: 8.047 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.828e-05/0.5676, allocations: 322.8 kB / 1.11 GB, free: 7.723 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.616e-05/0.5676, allocations: 8 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.5676, allocations: 17.72 kB / 1.11 GB, free: 7.691 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.957e-05/0.5676, allocations: 8 kB / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.5676, allocations: 0 / 1.11 GB, free: 7.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.611e-05/0.5677, allocations: 65.53 kB / 1.11 GB, free: 7.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.335e-06/0.5677, allocations: 4.219 kB / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5677, allocations: 0 / 1.11 GB, free: 7.609 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.646e-06/0.5678, allocations: 4.5 kB / 1.11 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.5678, allocations: 8 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.5678, allocations: 0 / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.851e-05/0.5679, allocations: 14.38 kB / 1.11 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.5679, allocations: 4 kB / 1.11 GB, free: 7.582 MB / 0.7136 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 4.678e-05/0.5679, allocations: 101 kB / 1.11 GB, free: 7.477 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.568, allocations: 8.844 kB / 1.11 GB, free: 7.469 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.568, allocations: 15.56 kB / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.568, allocations: 0 / 1.11 GB, free: 7.453 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.568, allocations: 4 kB / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.568, allocations: 0 / 1.11 GB, free: 7.449 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003185/0.5684, allocations: 456.1 kB / 1.11 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5684, allocations: 0 / 1.11 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.389e-05/0.5684, allocations: 4 kB / 1.11 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.5684, allocations: 0 / 1.11 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.5684, allocations: 0.5625 kB / 1.11 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5684, allocations: 0.5 kB / 1.11 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.5684, allocations: 5.875 kB / 1.111 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 7.643e-05/0.5685, allocations: 95.52 kB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.5686, allocations: 85.02 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.484e-05/0.5686, allocations: 4.688 kB / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.153e-05/0.5686, allocations: 1.031 kB / 1.111 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.378e-06/0.5686, allocations: 3.984 kB / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-06/0.5686, allocations: 0 / 1.111 GB, free: 6.715 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.966e-05/0.5687, allocations: 103.3 kB / 1.111 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001669/0.5689, allocations: 11.91 kB / 1.111 GB, free: 6.602 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.232e-05/0.569, allocations: 95.25 kB / 1.111 GB, free: 6.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.358e-05/0.569, allocations: 19.98 kB / 1.111 GB, free: 6.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.569, allocations: 3.938 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-05/0.5691, allocations: 8 kB / 1.111 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.86e-05/0.5692, allocations: 4.562 kB / 1.111 GB, free: 6.465 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.5694, allocations: 112.6 kB / 1.111 GB, free: 6.328 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.5696, allocations: 0.7113 MB / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.5696, allocations: 0 / 1.112 GB, free: 5.59 MB / 0.7136 GB Notification: Performance of Templates: time 0.00177/0.5714, allocations: 376.8 kB / 1.112 GB, free: 5.242 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_quad.pipe 2>&1)