Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate.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.EnthalpyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EnthalpyFlowRate") [: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.101/2.101, allocations: 253.1 MB / 260.4 MB, free: 7.48 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.001634/0.001634, allocations: 181.3 kB / 319.6 MB, free: 3.301 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.793/1.793, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.0017/0.0017, allocations: 97.88 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.213e-05/1.225e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2126/0.2127, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.343/5.555, allocations: 2.18 GB / 3.068 GB, free: 182.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/5.556, allocations: 83.39 kB / 3.068 GB, free: 182.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.358/6.914, allocations: 288.2 MB / 3.35 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.092e-05/6.914, allocations: 7.938 kB / 3.35 GB, free: 238.7 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: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.002404/6.916, allocations: 0.6578 MB / 3.35 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.869e-05/6.916, allocations: 8.719 kB / 3.35 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/6.918, allocations: 61.58 kB / 3.351 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001355/6.919, allocations: 335.5 kB / 3.351 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/6.919, allocations: 7.938 kB / 3.351 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001202/6.919, allocations: 25.09 kB / 3.351 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009856/6.92, allocations: 166.1 kB / 3.351 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001194/6.921, allocations: 246.8 kB / 3.351 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/6.921, allocations: 0 / 3.351 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.619e-05/6.922, allocations: 0 / 3.351 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/6.922, allocations: 6.219 kB / 3.351 GB, free: 237.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/6.925, allocations: 1.082 MB / 3.352 GB, free: 236.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007445/6.926, allocations: 142.6 kB / 3.352 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003463/6.926, allocations: 88.05 kB / 3.353 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009715/6.927, allocations: 301.3 kB / 3.353 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.013e-05/6.927, allocations: 35.75 kB / 3.353 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 3.998e-06/6.927, allocations: 7.938 kB / 3.353 GB, free: 236.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.00135/6.929, allocations: 270.5 kB / 3.353 GB, free: 236.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.882e-05/6.929, allocations: 57.02 kB / 3.353 GB, free: 236 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/6.929, allocations: 179.2 kB / 3.353 GB, free: 235.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.624e-05/6.929, allocations: 26.48 kB / 3.353 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.388e-05/6.929, allocations: 150.7 kB / 3.354 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.953e-05/6.929, allocations: 66.22 kB / 3.354 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.395e-05/6.929, allocations: 5.125 kB / 3.354 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/6.93, allocations: 327.4 kB / 3.354 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/6.93, allocations: 55.33 kB / 3.354 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/6.93, allocations: 92.09 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005569/6.931, allocations: 129 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/6.931, allocations: 3.938 kB / 3.354 GB, free: 235.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008643/6.931, allocations: 257.4 kB / 3.354 GB, free: 235 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/6.931, allocations: 5.406 kB / 3.354 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/6.931, allocations: 1.125 kB / 3.354 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/6.931, allocations: 1 kB / 3.354 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004087/6.932, allocations: 45.88 kB / 3.355 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/6.932, allocations: 0.9688 kB / 3.355 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003806/6.932, allocations: 30.17 kB / 3.355 GB, free: 235 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.011e-05/6.932, allocations: 7.062 kB / 3.355 GB, free: 235 MB / 0.8698 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 (21): * Single equations (assignments): 21 * 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 0.0001005/6.933, allocations: 111.3 kB / 3.355 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.58e-05/6.933, allocations: 25.88 kB / 3.355 GB, free: 234.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/6.934, allocations: 279.1 kB / 3.355 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/6.934, allocations: 1.094 kB / 3.355 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/6.934, allocations: 1.25 kB / 3.355 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/6.934, allocations: 0 / 3.355 GB, free: 234.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001831/6.936, allocations: 0.7232 MB / 3.356 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/6.936, allocations: 1.375 kB / 3.356 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00043/6.936, allocations: 41.2 kB / 3.356 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.261e-05/6.936, allocations: 7.109 kB / 3.356 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.583e-05/6.936, allocations: 2.594 kB / 3.356 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/6.936, allocations: 7.031 kB / 3.356 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/6.936, allocations: 6.375 kB / 3.356 GB, free: 234.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001178/6.937, allocations: 0.5589 MB / 3.356 GB, free: 233.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001733/6.938, allocations: 117.9 kB / 3.356 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/6.938, allocations: 6.125 kB / 3.356 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000371/6.938, allocations: 25.28 kB / 3.356 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.17e-05/6.938, allocations: 18.33 kB / 3.356 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.358e-05/6.938, allocations: 11.38 kB / 3.356 GB, free: 233.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.000172/6.938, allocations: 143.4 kB / 3.357 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000919/6.939, allocations: 165.4 kB / 3.357 GB, free: 233.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (senH_flow.h_out,senH.h_out) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.002461/6.942, allocations: 1.357 MB / 3.358 GB, free: 232.7 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006025/6.942, allocations: 151.2 kB / 3.358 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/6.942, allocations: 1.125 kB / 3.358 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/6.943, allocations: 83.64 kB / 3.358 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009064/6.944, allocations: 79.47 kB / 3.358 GB, free: 232.6 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001427/6.945, allocations: 0.4923 MB / 3.359 GB, free: 232.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004871/6.945, allocations: 0.819 MB / 3.36 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.021e-06/6.946, allocations: 0.9062 kB / 3.36 GB, free: 231.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.02868/6.974, allocations: 10.62 MB / 3.37 GB, free: 222.8 MB / 0.8698 GB