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_BtuPerHour.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_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") [: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.153/2.153, allocations: 284.9 MB / 292.2 MB, free: 10.67 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.001514/0.001514, allocations: 177.3 kB / 360.4 MB, free: 7.488 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.627/1.627, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001255/0.001254, allocations: 104.1 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.076e-05/1.09e-05, allocations: 4 kB / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5557/0.5557, allocations: 115.2 MB / 0.9628 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1996/0.7554, allocations: 136.6 MB / 1.096 GB, free: 4.145 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002325/0.7557, allocations: 63.97 kB / 1.096 GB, free: 4.082 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.003774/0.7595, allocations: 0.8491 MB / 1.097 GB, free: 3.262 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.7595, allocations: 4 kB / 1.097 GB, free: 3.258 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.0003671/0.7599, allocations: 359.6 kB / 1.097 GB, free: 2.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.76, allocations: 12.16 kB / 1.097 GB, free: 2.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.377e-05/0.76, allocations: 15.81 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.7602, allocations: 182.8 kB / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.7602, allocations: 0 / 1.098 GB, free: 2.621 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.7603, allocations: 4.797 kB / 1.098 GB, free: 2.617 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001379/0.7604, allocations: 32 kB / 1.098 GB, free: 2.586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001768/0.7606, allocations: 94.64 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.7606, allocations: 0 / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.7606, allocations: 1.75 kB / 1.098 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.7607, allocations: 4 kB / 1.098 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000643/0.7613, allocations: 413 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.68e-05/0.7614, allocations: 42.69 kB / 1.098 GB, free: 1.98 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.7614, allocations: 14.22 kB / 1.098 GB, free: 1.961 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.7615, allocations: 4.656 kB / 1.098 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.7615, allocations: 37.7 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.443e-06/0.7615, allocations: 0 / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.7617, allocations: 47.16 kB / 1.098 GB, free: 1.863 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.7618, allocations: 81.7 kB / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.7619, allocations: 120.8 kB / 1.098 GB, free: 1.641 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/0.7619, allocations: 26.27 kB / 1.098 GB, free: 1.609 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 7.873e-05/0.762, allocations: 112.5 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.102e-05/0.762, allocations: 7.906 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.847e-06/0.7621, allocations: 0.5312 kB / 1.099 GB, free: 1.488 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7622, allocations: 319.3 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.827e-05/0.7622, allocations: 5.312 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.56e-05/0.7623, allocations: 17.72 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.7623, allocations: 13.75 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.7623, allocations: 0 / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001744/0.7625, allocations: 58.12 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.7625, allocations: 5.25 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.7625, allocations: 5.875 kB / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.7626, allocations: 0 / 1.099 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.472e-05/0.7627, allocations: 12 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.7627, allocations: 0.9688 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.104e-05/0.7627, allocations: 10.31 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.7628, allocations: 4.844 kB / 1.099 GB, free: 1.035 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.057e-05/0.7628, allocations: 109.3 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.7629, allocations: 7.906 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.763, allocations: 8.688 kB / 1.099 GB, free: 0.9141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.763, allocations: 8.125 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.763, allocations: 0 / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.763, allocations: 0 / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000458/0.7635, allocations: 451.3 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7635, allocations: 1.375 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.109e-05/0.7635, allocations: 4 kB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.614e-06/0.7635, allocations: 0 / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.7636, allocations: 64 / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.7636, allocations: 11.94 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.7636, allocations: 0 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001157/0.7637, allocations: 92.31 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.7638, allocations: 89 kB / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.7638, allocations: 0 / 1.1 GB, free: 180 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.565e-05/0.7639, allocations: 4.031 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.246e-05/0.7639, allocations: 1.375 kB / 1.1 GB, free: 176 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.7639, allocations: 4 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of sort global known variables: time 8.643e-05/0.764, allocations: 103.9 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002497/0.7642, allocations: 11.91 kB / 1.1 GB, free: 56 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.0001249/0.7644, allocations: 99.25 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.689e-05/0.7645, allocations: 15.94 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7645, allocations: 4.125 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.24e-05/0.7645, allocations: 8 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001293/0.7647, allocations: 5.203 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003279/0.765, allocations: 113 kB / 1.1 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002876/0.7653, allocations: 0.7075 MB / 1.101 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/0.7653, allocations: 4.125 kB / 1.101 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of Templates: time 0.002916/0.7683, allocations: 380.5 kB / 1.101 GB, free: 14.71 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)