Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate.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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.EntropyFlowRate") [: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.2/2.2, allocations: 253.1 MB / 260.4 MB, free: 0.5547 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.001698/0.001698, allocations: 180.9 kB / 319.6 MB, free: 7.672 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.094/2.094, allocations: 205.4 MB / 0.5704 GB, free: 25.61 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.001239/0.001239, allocations: 93.27 kB / 0.6746 GB, free: 3.062 MB / 0.4949 GB Notification: Performance of FrontEnd - loaded program: time 1.488e-05/1.507e-05, allocations: 4 kB / 0.7843 GB, free: 2.684 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5211/0.5212, allocations: 106.2 MB / 0.888 GB, free: 77.12 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.594/6.115, allocations: 2.181 GB / 3.069 GB, free: 239.9 MB / 0.8699 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003132/6.116, allocations: 86.42 kB / 3.069 GB, free: 239.9 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.403/7.519, allocations: 294.1 MB / 3.356 GB, free: 224.8 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 5.121e-05/7.519, allocations: 13.62 kB / 3.356 GB, free: 224.8 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.002387/7.521, allocations: 0.716 MB / 3.357 GB, free: 224.4 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/7.521, allocations: 14.73 kB / 3.357 GB, free: 224.4 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002886/7.524, allocations: 135.5 kB / 3.357 GB, free: 224.4 MB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001336/7.526, allocations: 357.6 kB / 3.357 GB, free: 224.2 MB / 0.8699 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/7.526, allocations: 44.98 kB / 3.357 GB, free: 224.2 MB / 0.8699 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/7.526, allocations: 15.69 kB / 3.357 GB, free: 224.2 MB / 0.8699 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001017/7.527, allocations: 238.4 kB / 3.358 GB, free: 224.2 MB / 0.8699 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009798/7.528, allocations: 254.2 kB / 3.358 GB, free: 224.1 MB / 0.8699 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/7.528, allocations: 3.406 kB / 3.358 GB, free: 224.1 MB / 0.8699 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/7.528, allocations: 7.703 kB / 3.358 GB, free: 224.1 MB / 0.8699 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/7.528, allocations: 7.625 kB / 3.358 GB, free: 224.1 MB / 0.8699 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003279/7.531, allocations: 1.004 MB / 3.359 GB, free: 223.7 MB / 0.8699 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009639/7.532, allocations: 225.2 kB / 3.359 GB, free: 223.7 MB / 0.8699 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/7.533, allocations: 115.1 kB / 3.359 GB, free: 223.6 MB / 0.8699 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001713/7.535, allocations: 0.5048 MB / 3.36 GB, free: 223.2 MB / 0.8699 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/7.535, allocations: 34.69 kB / 3.36 GB, free: 223.1 MB / 0.8699 GB Notification: Performance of pre-optimization done (n=21): time 3.366e-06/7.535, allocations: 0 / 3.36 GB, free: 223.1 MB / 0.8699 GB Notification: Performance of matching and sorting (n=21): time 0.002727/7.537, allocations: 351.4 kB / 3.36 GB, free: 223.1 MB / 0.8699 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/7.537, allocations: 62.88 kB / 3.36 GB, free: 223 MB / 0.8699 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003635/7.538, allocations: 178.6 kB / 3.36 GB, free: 222.9 MB / 0.8699 GB Notification: Performance of collectPreVariables (initialization): time 6.785e-05/7.538, allocations: 29.61 kB / 3.36 GB, free: 222.9 MB / 0.8699 GB Notification: Performance of collectInitialEqns (initialization): time 9.942e-05/7.538, allocations: 151.8 kB / 3.361 GB, free: 222.8 MB / 0.8699 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/7.538, allocations: 76.11 kB / 3.361 GB, free: 222.8 MB / 0.8699 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/7.538, allocations: 3.406 kB / 3.361 GB, free: 222.8 MB / 0.8699 GB Notification: Performance of setup shared object (initialization): time 9.982e-05/7.538, allocations: 334.8 kB / 3.361 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/7.539, allocations: 79.34 kB / 3.361 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000408/7.539, allocations: 129.8 kB / 3.361 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/7.541, allocations: 181.4 kB / 3.361 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/7.541, allocations: 0 / 3.361 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.002536/7.543, allocations: 340.4 kB / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of prepare postOptimizeDAE: time 2.783e-05/7.543, allocations: 7.625 kB / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/7.543, allocations: 0 / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.883e-05/7.544, allocations: 3.812 kB / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/7.544, allocations: 48.75 kB / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/7.544, allocations: 3.344 kB / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007447/7.545, allocations: 36.34 kB / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.968e-05/7.545, allocations: 10.28 kB / 3.362 GB, free: 222.4 MB / 0.8699 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.0001849/7.545, allocations: 112.1 kB / 3.362 GB, free: 222.2 MB / 0.8699 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003236/7.546, allocations: 29.38 kB / 3.362 GB, free: 222.2 MB / 0.8699 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002722/7.549, allocations: 385.8 kB / 3.362 GB, free: 222.2 MB / 0.8699 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/7.549, allocations: 3.625 kB / 3.362 GB, free: 222.2 MB / 0.8699 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/7.549, allocations: 3.703 kB / 3.362 GB, free: 222.2 MB / 0.8699 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/7.549, allocations: 2.875 kB / 3.362 GB, free: 222.2 MB / 0.8699 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01415/7.563, allocations: 1.326 MB / 3.364 GB, free: 221.5 MB / 0.8699 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.371e-05/7.563, allocations: 3.688 kB / 3.364 GB, free: 221.5 MB / 0.8699 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008754/7.564, allocations: 53.41 kB / 3.364 GB, free: 221.5 MB / 0.8699 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-05/7.564, allocations: 3.875 kB / 3.364 GB, free: 221.5 MB / 0.8699 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.998e-05/7.564, allocations: 7.656 kB / 3.364 GB, free: 221.5 MB / 0.8699 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.31e-05/7.564, allocations: 13.33 kB / 3.364 GB, free: 221.5 MB / 0.8699 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/7.564, allocations: 0 / 3.364 GB, free: 221.5 MB / 0.8699 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002619/7.567, allocations: 0.7377 MB / 3.364 GB, free: 221.1 MB / 0.8699 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003703/7.567, allocations: 138.2 kB / 3.364 GB, free: 220.9 MB / 0.8699 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/7.567, allocations: 11.53 kB / 3.364 GB, free: 220.9 MB / 0.8699 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008935/7.568, allocations: 22.97 kB / 3.365 GB, free: 220.9 MB / 0.8699 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/7.568, allocations: 30.09 kB / 3.365 GB, free: 220.9 MB / 0.8699 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/7.568, allocations: 11.41 kB / 3.365 GB, free: 220.9 MB / 0.8699 GB Notification: Performance of sort global known variables: time 0.0002698/7.569, allocations: 153 kB / 3.365 GB, free: 220.9 MB / 0.8699 GB Notification: Performance of remove unused functions: time 0.009857/7.579, allocations: 204.4 kB / 3.365 GB, free: 220.9 MB / 0.8699 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (senS_flow.s_out,senS.s) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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.003836/7.582, allocations: 1.406 MB / 3.366 GB, free: 220.6 MB / 0.8699 GB Notification: Performance of simCode: created initialization part: time 0.001014/7.584, allocations: 219 kB / 3.366 GB, free: 220.6 MB / 0.8699 GB Notification: Performance of simCode: created event and clocks part: time 8.727e-06/7.584, allocations: 0 / 3.366 GB, free: 220.6 MB / 0.8699 GB Notification: Performance of simCode: created simulation system equations: time 0.0005079/7.584, allocations: 128.4 kB / 3.367 GB, free: 220.6 MB / 0.8699 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/7.586, allocations: 95.41 kB / 3.367 GB, free: 220.6 MB / 0.8699 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002533/7.588, allocations: 0.5662 MB / 3.367 GB, free: 220.3 MB / 0.8699 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007693/7.589, allocations: 0.8271 MB / 3.368 GB, free: 219.6 MB / 0.8699 GB Notification: Performance of SimCode: time 1.733e-06/7.589, allocations: 0 / 3.368 GB, free: 219.6 MB / 0.8699 GB Notification: Performance of Templates: time 0.05048/7.64, allocations: 12.56 MB / 3.38 GB, free: 219.4 MB / 0.8699 GB