Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.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.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [: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.196/2.196, 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.00153/0.001529, allocations: 177.2 kB / 360.4 MB, free: 7.523 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.597/1.597, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001177/0.001177, allocations: 99.16 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.085e-05/1.089e-05, allocations: 0 / 0.8502 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5384/0.5385, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1998/0.7383, allocations: 136.6 MB / 1.096 GB, free: 4.191 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/0.7386, allocations: 64.61 kB / 1.096 GB, free: 4.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003753/0.7424, allocations: 0.8403 MB / 1.097 GB, free: 3.312 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.7425, allocations: 4.594 kB / 1.097 GB, free: 3.309 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.000397/0.7429, allocations: 367.5 kB / 1.097 GB, free: 2.906 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.7429, allocations: 12.53 kB / 1.097 GB, free: 2.895 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.134e-05/0.743, allocations: 12.41 kB / 1.097 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.7432, allocations: 178.9 kB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.7432, allocations: 2.469 kB / 1.098 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.541e-05/0.7432, allocations: 4 kB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000135/0.7434, allocations: 32 kB / 1.098 GB, free: 2.633 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001747/0.7435, allocations: 87.8 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.7436, allocations: 0.5938 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.7436, allocations: 0 / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.7436, allocations: 5.453 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006562/0.7443, allocations: 424.3 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.423e-05/0.7444, allocations: 43 kB / 1.098 GB, free: 2.023 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.7444, allocations: 9.719 kB / 1.098 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.696e-06/0.7444, allocations: 5.312 kB / 1.098 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.7445, allocations: 32.59 kB / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/0.7445, allocations: 0 / 1.098 GB, free: 1.965 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001983/0.7447, allocations: 49.55 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.855e-05/0.7447, allocations: 77.86 kB / 1.098 GB, free: 1.816 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001431/0.7449, allocations: 124 kB / 1.098 GB, free: 1.688 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.293e-05/0.7449, allocations: 26.33 kB / 1.098 GB, free: 1.656 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.585e-05/0.745, allocations: 108.5 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.616e-05/0.745, allocations: 15.89 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-06/0.745, allocations: 0.5625 kB / 1.099 GB, free: 1.531 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.7451, allocations: 311.6 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.114e-05/0.7452, allocations: 8.656 kB / 1.099 GB, free: 1.211 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.732e-05/0.7452, allocations: 18.34 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.158e-05/0.7453, allocations: 16.7 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7453, allocations: 0.875 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001822/0.7455, allocations: 54.27 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.7455, allocations: 4 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.7455, allocations: 4.562 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.7456, allocations: 5.25 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.7457, allocations: 9.484 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7457, allocations: 0.5938 kB / 1.099 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.7457, allocations: 10.84 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.832e-06/0.7458, allocations: 4 kB / 1.099 GB, free: 1.082 MB / 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 7.338e-05/0.7459, allocations: 110.8 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.24e-05/0.7459, allocations: 7.906 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.956e-05/0.746, allocations: 11.59 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.746, allocations: 2.031 kB / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.746, allocations: 0 / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.746, allocations: 0 / 1.099 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.7465, allocations: 451.3 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.7465, allocations: 4.062 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.7466, allocations: 7.984 kB / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.7466, allocations: 0 / 1.1 GB, free: 460 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.7466, allocations: 4 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.7466, allocations: 0 / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.46e-06/0.7466, allocations: 6.625 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001336/0.7468, allocations: 87.53 kB / 1.1 GB, free: 336 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.205e-05/0.7468, allocations: 93.84 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.731e-05/0.7469, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.595e-05/0.7469, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.144e-05/0.7469, allocations: 0 / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.424e-06/0.747, allocations: 4 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of sort global known variables: time 8.442e-05/0.747, allocations: 102.1 kB / 1.1 GB, free: 120 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.000255/0.7473, allocations: 11.91 kB / 1.1 GB, free: 108 kB / 0.698 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 0.0001354/0.7475, allocations: 103.3 kB / 1.1 GB, free: 16 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.7476, allocations: 19.94 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.7476, allocations: 0 / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.079e-05/0.7476, allocations: 4.656 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001339/0.7478, allocations: 5.203 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003548/0.7481, allocations: 117 kB / 1.1 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.7484, allocations: 0.7116 MB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/0.7485, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of Templates: time 0.002923/0.7514, allocations: 382.7 kB / 1.101 GB, free: 14.75 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1)