Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [: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.189/2.189, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.00162/0.00162, allocations: 173.3 kB / 319.6 MB, free: 3.336 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.837/1.837, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001404/0.001404, allocations: 96.27 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.152e-05/1.169e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.219, allocations: 106.3 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.725/5.944, allocations: 2.18 GB / 3.068 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/5.944, allocations: 83.27 kB / 3.069 GB, free: 180.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.406/7.35, allocations: 212.7 MB / 3.276 GB, free: 255.9 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.277e-05/7.351, allocations: 3.875 kB / 3.276 GB, free: 255.9 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001097/7.352, allocations: 0.5578 MB / 3.277 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/7.352, allocations: 7.281 kB / 3.277 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004891/7.352, allocations: 63.91 kB / 3.277 GB, free: 255.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/7.353, allocations: 302.2 kB / 3.277 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/7.353, allocations: 6.438 kB / 3.277 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.821e-05/7.353, allocations: 15.25 kB / 3.277 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000281/7.353, allocations: 82.83 kB / 3.277 GB, free: 255.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003375/7.354, allocations: 161.6 kB / 3.277 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/7.354, allocations: 0 / 3.277 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.411e-05/7.354, allocations: 0 / 3.277 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.045e-06/7.354, allocations: 3.938 kB / 3.277 GB, free: 255.2 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/7.355, allocations: 0.7529 MB / 3.278 GB, free: 254.8 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002411/7.355, allocations: 63.78 kB / 3.278 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001452/7.356, allocations: 64.56 kB / 3.278 GB, free: 254.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003507/7.356, allocations: 190.3 kB / 3.278 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/7.356, allocations: 33.38 kB / 3.278 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=10): time 2.555e-06/7.356, allocations: 0 / 3.278 GB, free: 254.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10): time 0.0007155/7.357, allocations: 149.7 kB / 3.279 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.967e-05/7.357, allocations: 55.16 kB / 3.279 GB, free: 254.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002454/7.357, allocations: 184.1 kB / 3.279 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.856e-05/7.357, allocations: 29.11 kB / 3.279 GB, free: 254.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.433e-05/7.357, allocations: 119.2 kB / 3.279 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.196e-05/7.357, allocations: 34.77 kB / 3.279 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/7.357, allocations: 3.031 kB / 3.279 GB, free: 254.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.398e-05/7.357, allocations: 333 kB / 3.279 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.801e-05/7.357, allocations: 20 kB / 3.279 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/7.358, allocations: 90.89 kB / 3.279 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001074/7.358, allocations: 42.56 kB / 3.279 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/7.358, allocations: 0 / 3.279 GB, free: 253.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002904/7.358, allocations: 118.1 kB / 3.28 GB, free: 253.7 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/7.358, allocations: 361.6 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/7.358, allocations: 3.906 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/7.358, allocations: 0 / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002617/7.358, allocations: 33.16 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/7.358, allocations: 1.797 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003519/7.359, allocations: 24.61 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/7.359, allocations: 15.42 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/7.359, allocations: 3.875 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001978/7.359, allocations: 65.64 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/7.359, allocations: 3.312 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.28e-06/7.359, allocations: 3.656 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002168/7.359, allocations: 35.66 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/7.359, allocations: 0 / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003569/7.36, allocations: 25.23 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/7.36, allocations: 10.45 kB / 3.28 GB, free: 253.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 9.267e-05/7.36, allocations: 104.2 kB / 3.28 GB, free: 253.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.556e-05/7.36, allocations: 23.41 kB / 3.28 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003556/7.36, allocations: 121.9 kB / 3.28 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/7.36, allocations: 3.938 kB / 3.28 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/7.36, allocations: 0 / 3.28 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/7.36, allocations: 3 kB / 3.28 GB, free: 253.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/7.361, allocations: 0.5156 MB / 3.281 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/7.361, allocations: 3.906 kB / 3.281 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/7.362, allocations: 25.77 kB / 3.281 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/7.362, allocations: 7.656 kB / 3.281 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/7.362, allocations: 3.688 kB / 3.281 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/7.362, allocations: 0 / 3.281 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/7.362, allocations: 6.125 kB / 3.281 GB, free: 252.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003446/7.362, allocations: 351 kB / 3.281 GB, free: 252.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001198/7.362, allocations: 110.2 kB / 3.281 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.769e-05/7.362, allocations: 3.938 kB / 3.281 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003715/7.363, allocations: 18.64 kB / 3.281 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.188e-05/7.363, allocations: 17.23 kB / 3.281 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/7.363, allocations: 3.938 kB / 3.281 GB, free: 252.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0001613/7.363, allocations: 150 kB / 3.282 GB, free: 252.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009128/7.364, allocations: 164.9 kB / 3.282 GB, free: 252.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * 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 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.001629/7.365, allocations: 1.025 MB / 3.283 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004449/7.366, allocations: 129 kB / 3.283 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/7.366, allocations: 3.406 kB / 3.283 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/7.366, allocations: 46.86 kB / 3.283 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/7.367, allocations: 98.08 kB / 3.283 GB, free: 252.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007931/7.368, allocations: 294.1 kB / 3.283 GB, free: 252 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003422/7.368, allocations: 0.7926 MB / 3.284 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.323e-06/7.368, allocations: 0 / 3.284 GB, free: 251.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.0232/7.392, allocations: 8.972 MB / 3.293 GB, free: 251.1 MB / 0.8698 GB