Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.39/2.39, allocations: 253.1 MB / 260.4 MB, free: 7.605 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001692/0.001691, allocations: 177.2 kB / 319.6 MB, free: 3.348 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.078/2.078, allocations: 205.4 MB / 0.5704 GB, free: 15.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001298/0.001297, allocations: 89.27 kB / 0.6746 GB, free: 4.449 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.282e-05/1.299e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2577/0.2578, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6392/0.8971, allocations: 131.4 MB / 1.016 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.8974, allocations: 62.22 kB / 1.016 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004228/0.9016, allocations: 0.9132 MB / 1.017 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.027e-05/0.9017, allocations: 0 / 1.017 GB, free: 6.172 MB / 0.6355 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.0004652/0.9021, allocations: 371 kB / 1.018 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.9022, allocations: 12.03 kB / 1.018 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.9023, allocations: 15.8 kB / 1.018 GB, free: 5.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.9025, allocations: 182.8 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.856e-05/0.9025, allocations: 4 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.9025, allocations: 4.844 kB / 1.018 GB, free: 5.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001482/0.9027, allocations: 38.81 kB / 1.018 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.9029, allocations: 80.45 kB / 1.018 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.9029, allocations: 0 / 1.018 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.9029, allocations: 7.844 kB / 1.018 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.903, allocations: 4 kB / 1.018 GB, free: 5.406 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007737/0.9038, allocations: 421.1 kB / 1.018 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.31e-05/0.9038, allocations: 36.98 kB / 1.018 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.9039, allocations: 25.25 kB / 1.019 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.9039, allocations: 3.938 kB / 1.019 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.904, allocations: 30.56 kB / 1.019 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.404e-06/0.904, allocations: 0 / 1.019 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002083/0.9042, allocations: 48.59 kB / 1.019 GB, free: 4.816 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.9043, allocations: 81.11 kB / 1.019 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.9044, allocations: 141.6 kB / 1.019 GB, free: 4.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.692e-05/0.9045, allocations: 25.7 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.9046, allocations: 111.5 kB / 1.019 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.948e-06/0.9046, allocations: 3.906 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/0.9046, allocations: 0 / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.9048, allocations: 322.1 kB / 1.019 GB, free: 4.117 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.285e-05/0.9048, allocations: 7.688 kB / 1.019 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.678e-05/0.9049, allocations: 24.64 kB / 1.019 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.297e-05/0.9049, allocations: 11.5 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.905, allocations: 0 / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001497/0.9051, allocations: 60.34 kB / 1.019 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.9052, allocations: 10.5 kB / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.9052, allocations: 0 / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.9052, allocations: 0 / 1.019 GB, free: 4.012 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.9053, allocations: 8.312 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.9053, allocations: 4.062 kB / 1.019 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.001e-05/0.9054, allocations: 7.906 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/0.9054, allocations: 0 / 1.019 GB, free: 3.996 MB / 0.6355 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 8.344e-05/0.9055, allocations: 107.4 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.9056, allocations: 7.906 kB / 1.019 GB, free: 3.879 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.278e-05/0.9056, allocations: 15.42 kB / 1.02 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.9057, allocations: 0 / 1.02 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/0.9057, allocations: 4 kB / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.9057, allocations: 0 / 1.02 GB, free: 3.867 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005336/0.9062, allocations: 452.7 kB / 1.02 GB, free: 3.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/0.9063, allocations: 7.984 kB / 1.02 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.397e-05/0.9063, allocations: 4 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.9063, allocations: 0 / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.9063, allocations: 6.625 kB / 1.02 GB, free: 3.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.9064, allocations: 4.531 kB / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.9064, allocations: 0 / 1.02 GB, free: 3.371 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001282/0.9065, allocations: 90.56 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.808e-05/0.9066, allocations: 96.62 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.9066, allocations: 0 / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.9067, allocations: 0 / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.9067, allocations: 7.906 kB / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.9067, allocations: 0 / 1.02 GB, free: 3.145 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001055/0.9068, allocations: 117.4 kB / 1.02 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002643/0.9071, allocations: 12 kB / 1.02 GB, free: 3.031 MB / 0.6355 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.0001459/0.9073, allocations: 95.25 kB / 1.02 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001119/0.9074, allocations: 26.8 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.9074, allocations: 0 / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.224e-05/0.9074, allocations: 7.625 kB / 1.02 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001728/0.9076, allocations: 4.156 kB / 1.02 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000411/0.9081, allocations: 122.6 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003662/0.9084, allocations: 0.7071 MB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of SimCode: time 1.022e-06/0.9084, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of Templates: time 0.00326/0.9117, allocations: 405 kB / 1.022 GB, free: 1.648 MB / 0.6355 GB