Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.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.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") [: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.164/2.164, allocations: 253.1 MB / 260.4 MB, free: 7.578 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.00163/0.001629, allocations: 185.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.959/1.959, 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.001935/0.001934, allocations: 83.39 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.057e-05/1.072e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2081/0.2081, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.266/6.474, allocations: 2.451 GB / 3.339 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004044/6.474, allocations: 86.52 kB / 3.339 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.679/11.15, allocations: 0.9771 GB / 4.316 GB, free: 127.4 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0002827/11.15, allocations: 49.47 kB / 4.316 GB, free: 127.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 278 * Number of variables: 278 Notification: Performance of Generate backend data structure: time 0.006854/11.16, allocations: 1.885 MB / 4.318 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/11.16, allocations: 14.97 kB / 4.318 GB, free: 126.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003229/11.16, allocations: 362.1 kB / 4.319 GB, free: 126.4 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/11.17, allocations: 1.614 MB / 4.32 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.741e-05/11.17, allocations: 32.31 kB / 4.32 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002932/11.17, allocations: 72.84 kB / 4.32 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00273/11.17, allocations: 0.7986 MB / 4.321 GB, free: 126.1 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002914/11.18, allocations: 0.9958 MB / 4.322 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.182e-05/11.18, allocations: 0 / 4.322 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/11.18, allocations: 0 / 4.322 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.298e-05/11.18, allocations: 46.5 kB / 4.322 GB, free: 126 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01283/11.19, allocations: 5.593 MB / 4.327 GB, free: 123.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002119/11.19, allocations: 0.655 MB / 4.328 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009735/11.19, allocations: 379.2 kB / 4.328 GB, free: 123.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007115/11.19, allocations: 0.606 MB / 4.329 GB, free: 122.6 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.398e-05/11.19, allocations: 44.06 kB / 4.329 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=70): time 3.767e-06/11.19, allocations: 0 / 4.329 GB, free: 122.5 MB / 0.8855 GB Notification: Performance of matching and sorting (n=70): time 0.003588/11.2, allocations: 0.8404 MB / 4.33 GB, free: 122.4 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/11.2, allocations: 57.84 kB / 4.33 GB, free: 122.3 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001979/11.2, allocations: 0.886 MB / 4.331 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0002529/11.2, allocations: 25.7 kB / 4.331 GB, free: 122.2 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003521/11.2, allocations: 483.5 kB / 4.331 GB, free: 122 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003834/11.2, allocations: 235.7 kB / 4.332 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.193e-05/11.2, allocations: 0 / 4.332 GB, free: 121.8 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 8.801e-05/11.2, allocations: 338.3 kB / 4.332 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000636/11.2, allocations: 234 kB / 4.332 GB, free: 121.5 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008188/11.2, allocations: 487.6 kB / 4.333 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/11.2, allocations: 331.5 kB / 4.333 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/11.2, allocations: 3.375 kB / 4.333 GB, free: 121.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002994/11.21, allocations: 0.8954 MB / 4.334 GB, free: 121.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002619/11.21, allocations: 1.065 MB / 4.335 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/11.21, allocations: 5.219 kB / 4.335 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004031/11.21, allocations: 94.8 kB / 4.335 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/11.21, allocations: 163.9 kB / 4.335 GB, free: 120 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001471/11.21, allocations: 1.81 MB / 4.337 GB, free: 118.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/11.21, allocations: 140.5 kB / 4.337 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/11.21, allocations: 35.67 kB / 4.337 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/11.21, allocations: 6.906 kB / 4.337 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002247/11.22, allocations: 0.6727 MB / 4.338 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/11.22, allocations: 3.188 kB / 4.338 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004803/11.22, allocations: 98.56 kB / 4.338 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001289/11.22, allocations: 165.4 kB / 4.338 GB, free: 118.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/11.22, allocations: 2.988 MB / 4.341 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002604/11.22, allocations: 134.7 kB / 4.341 GB, free: 115.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/11.22, allocations: 34.67 kB / 4.341 GB, free: 115.7 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003352/11.22, allocations: 118.5 kB / 4.341 GB, free: 115.6 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003893/11.22, allocations: 139.3 kB / 4.341 GB, free: 115.5 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002684/11.23, allocations: 0.8572 MB / 4.342 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/11.23, allocations: 9.25 kB / 4.342 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/11.23, allocations: 0 / 4.342 GB, free: 115.4 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001886/11.23, allocations: 0.994 MB / 4.343 GB, free: 114.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006167/11.24, allocations: 2.216 MB / 4.345 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/11.24, allocations: 0 / 4.345 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001508/11.24, allocations: 167 kB / 4.345 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000245/11.24, allocations: 78.39 kB / 4.345 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.677e-05/11.24, allocations: 7.906 kB / 4.345 GB, free: 114.5 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/11.24, allocations: 1.758 MB / 4.347 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/11.24, allocations: 0 / 4.347 GB, free: 112.9 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003331/11.24, allocations: 1.463 MB / 4.349 GB, free: 112.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001189/11.24, allocations: 317.8 kB / 4.349 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/11.24, allocations: 10.84 kB / 4.349 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002066/11.25, allocations: 109.1 kB / 4.349 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/11.25, allocations: 46.36 kB / 4.349 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/11.25, allocations: 39.78 kB / 4.349 GB, free: 112.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001507/11.25, allocations: 0.667 MB / 4.35 GB, free: 112.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.004782/11.25, allocations: 0.9222 MB / 4.351 GB, free: 112 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 5 (hex.vol1.dynBal.U,hex.vol2.dynBal.U,hex.vol2.dynBal.m,hex.vol2.dynBal.mXi[1],hex.mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 3,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004154/11.26, allocations: 2.252 MB / 4.353 GB, free: 111.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003908/11.26, allocations: 1.281 MB / 4.354 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/11.26, allocations: 3.938 kB / 4.354 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/11.26, allocations: 367.8 kB / 4.354 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007246/11.27, allocations: 0.7187 MB / 4.355 GB, free: 111.1 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006589/11.28, allocations: 2.094 MB / 4.357 GB, free: 110.5 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001735/11.28, allocations: 1.426 MB / 4.359 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of SimCode: time 1.653e-06/11.28, allocations: 0 / 4.359 GB, free: 109.8 MB / 0.8855 GB Notification: Performance of Templates: time 0.1047/11.38, allocations: 40.21 MB / 4.398 GB, free: 107.9 MB / 0.8855 GB