Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") [: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.192/2.192, allocations: 253.1 MB / 260.4 MB, free: 7.512 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.001745/0.001744, allocations: 189.2 kB / 319.6 MB, free: 3.309 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 1.994/1.994, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001322/0.001322, allocations: 102 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.404e-05/1.425e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2679, allocations: 106.3 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.678/5.946, allocations: 2.179 GB / 3.067 GB, free: 183.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003807/5.946, allocations: 82.02 kB / 3.067 GB, free: 183.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.167/7.113, allocations: 201.2 MB / 3.264 GB, free: 249.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.142e-05/7.113, allocations: 7.594 kB / 3.264 GB, free: 249.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001225/7.114, allocations: 0.5712 MB / 3.264 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/7.114, allocations: 7.125 kB / 3.264 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.407e-05/7.114, allocations: 27.19 kB / 3.264 GB, free: 249.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/7.115, allocations: 272.4 kB / 3.264 GB, free: 249 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.882e-05/7.115, allocations: 10.69 kB / 3.264 GB, free: 249 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.251e-05/7.115, allocations: 10.62 kB / 3.264 GB, free: 249 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003199/7.115, allocations: 98.38 kB / 3.265 GB, free: 249 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/7.115, allocations: 219.2 kB / 3.265 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/7.115, allocations: 7.469 kB / 3.265 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.515e-05/7.116, allocations: 0 / 3.265 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/7.116, allocations: 7.062 kB / 3.265 GB, free: 248.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001355/7.117, allocations: 1.29 MB / 3.266 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00024/7.117, allocations: 151.9 kB / 3.266 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/7.117, allocations: 76.16 kB / 3.266 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004601/7.118, allocations: 117.6 kB / 3.266 GB, free: 247.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/7.118, allocations: 41.59 kB / 3.266 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.445e-06/7.118, allocations: 0 / 3.266 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0006705/7.119, allocations: 141.8 kB / 3.267 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.502e-05/7.119, allocations: 187.3 kB / 3.267 GB, free: 247.3 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/7.119, allocations: 160.6 kB / 3.267 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/7.119, allocations: 29.64 kB / 3.267 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.843e-05/7.119, allocations: 143.7 kB / 3.267 GB, free: 247.1 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.726e-05/7.119, allocations: 40.47 kB / 3.267 GB, free: 247 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/7.119, allocations: 0 / 3.267 GB, free: 247 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.41e-05/7.119, allocations: 324 kB / 3.267 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.459e-05/7.119, allocations: 34.2 kB / 3.267 GB, free: 246.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/7.119, allocations: 98.66 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002844/7.12, allocations: 72.22 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/7.12, allocations: 3.812 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004662/7.12, allocations: 159.1 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/7.12, allocations: 7.531 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/7.12, allocations: 3.844 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.6e-05/7.12, allocations: 3.938 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002967/7.121, allocations: 35.77 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.984e-06/7.121, allocations: 3.344 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/7.121, allocations: 25.98 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/7.121, allocations: 12.73 kB / 3.268 GB, free: 246.6 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 9.048e-05/7.121, allocations: 109.8 kB / 3.268 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/7.121, allocations: 14.28 kB / 3.268 GB, free: 246.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004545/7.122, allocations: 127.1 kB / 3.268 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/7.122, allocations: 0 / 3.268 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/7.122, allocations: 2.688 kB / 3.268 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/7.122, allocations: 3.875 kB / 3.268 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009705/7.123, allocations: 0.7199 MB / 3.269 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/7.123, allocations: 1.125 kB / 3.269 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002574/7.123, allocations: 32.72 kB / 3.269 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-06/7.123, allocations: 3.938 kB / 3.269 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/7.123, allocations: 3.375 kB / 3.269 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/7.123, allocations: 7.781 kB / 3.269 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/7.123, allocations: 3.906 kB / 3.269 GB, free: 245.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005914/7.124, allocations: 360.6 kB / 3.269 GB, free: 245.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.556e-05/7.124, allocations: 105.3 kB / 3.269 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.974e-05/7.124, allocations: 2.953 kB / 3.269 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002373/7.124, allocations: 16.44 kB / 3.269 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.748e-05/7.124, allocations: 7.031 kB / 3.269 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.329e-05/7.124, allocations: 6.531 kB / 3.269 GB, free: 245.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001355/7.124, allocations: 138.5 kB / 3.269 GB, free: 245.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000812/7.125, allocations: 133.7 kB / 3.27 GB, free: 245.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.001788/7.127, allocations: 1.133 MB / 3.271 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003408/7.127, allocations: 89.08 kB / 3.271 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/7.127, allocations: 0 / 3.271 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/7.127, allocations: 37.28 kB / 3.271 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006948/7.128, allocations: 63.22 kB / 3.271 GB, free: 245.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009514/7.129, allocations: 324.5 kB / 3.271 GB, free: 245 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003411/7.129, allocations: 0.7781 MB / 3.272 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.473e-06/7.13, allocations: 0 / 3.272 GB, free: 244.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.02218/7.152, allocations: 8.24 MB / 3.28 GB, free: 244.1 MB / 0.8698 GB