Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.286/2.286, allocations: 284.9 MB / 292.2 MB, free: 14.67 MB / 238.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001622/0.001622, allocations: 181.3 kB / 360.4 MB, free: 12.15 MB / 302.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.91/1.91, allocations: 205.1 MB / 0.6188 GB, free: 4.59 MB / 462.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001264/0.001263, allocations: 86.25 kB / 0.7318 GB, free: 53.63 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 1.673e-05/1.704e-05, allocations: 4 kB / 0.8503 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2868/0.2868, allocations: 115.3 MB / 0.9628 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.956/6.242, allocations: 2.333 GB / 3.296 GB, free: 144.8 MB / 0.9356 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003414/6.243, allocations: 93.53 kB / 3.296 GB, free: 144.8 MB / 0.9356 GB Notification: Performance of FrontEnd: time 4.97/11.21, allocations: 1.006 GB / 4.302 GB, free: 139.8 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 0.0002552/11.21, allocations: 45.86 kB / 4.302 GB, free: 139.8 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 0.006654/11.22, allocations: 1.886 MB / 4.304 GB, free: 139 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/11.22, allocations: 9.938 kB / 4.304 GB, free: 139 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002993/11.22, allocations: 361.1 kB / 4.304 GB, free: 138.9 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005839/11.23, allocations: 1.603 MB / 4.306 GB, free: 138.5 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.769e-05/11.23, allocations: 34.5 kB / 4.306 GB, free: 138.5 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002574/11.23, allocations: 69.5 kB / 4.306 GB, free: 138.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0027/11.23, allocations: 0.8009 MB / 4.307 GB, free: 138.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00288/11.23, allocations: 0.9854 MB / 4.308 GB, free: 138.3 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.879e-05/11.23, allocations: 3.531 kB / 4.308 GB, free: 138.3 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001457/11.23, allocations: 1.344 kB / 4.308 GB, free: 138.3 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.915e-05/11.23, allocations: 45.33 kB / 4.308 GB, free: 138.3 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/11.25, allocations: 5.593 MB / 4.313 GB, free: 135.6 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/11.25, allocations: 0.649 MB / 4.314 GB, free: 135.5 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001007/11.25, allocations: 383.5 kB / 4.314 GB, free: 135.5 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007549/11.25, allocations: 0.6077 MB / 4.315 GB, free: 134.9 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/11.25, allocations: 40.91 kB / 4.315 GB, free: 134.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 3.547e-06/11.25, allocations: 0.8125 kB / 4.315 GB, free: 134.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.003786/11.25, allocations: 0.8471 MB / 4.316 GB, free: 134.7 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/11.25, allocations: 60.31 kB / 4.316 GB, free: 134.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002222/11.26, allocations: 0.8747 MB / 4.317 GB, free: 134.5 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002003/11.26, allocations: 27.83 kB / 4.317 GB, free: 134.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004528/11.26, allocations: 473.3 kB / 4.317 GB, free: 134.2 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/11.26, allocations: 237 kB / 4.317 GB, free: 134 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.074e-05/11.26, allocations: 0 / 4.317 GB, free: 134 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001035/11.26, allocations: 341.5 kB / 4.318 GB, free: 133.7 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007082/11.26, allocations: 236.5 kB / 4.318 GB, free: 133.7 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009212/11.26, allocations: 490.4 kB / 4.318 GB, free: 133.5 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/11.26, allocations: 328.5 kB / 4.319 GB, free: 133.4 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/11.26, allocations: 0.9375 kB / 4.319 GB, free: 133.4 MB / 0.9512 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00328/11.26, allocations: 0.8941 MB / 4.32 GB, free: 133.3 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002653/11.26, allocations: 1.073 MB / 4.321 GB, free: 132.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/11.26, allocations: 2.562 kB / 4.321 GB, free: 132.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004346/11.26, allocations: 98.16 kB / 4.321 GB, free: 132.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/11.27, allocations: 163.5 kB / 4.321 GB, free: 132.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/11.27, allocations: 1.81 MB / 4.323 GB, free: 130.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002702/11.27, allocations: 137 kB / 4.323 GB, free: 130.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/11.27, allocations: 33.75 kB / 4.323 GB, free: 130.5 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/11.27, allocations: 3.562 kB / 4.323 GB, free: 130.5 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002471/11.27, allocations: 0.6824 MB / 4.323 GB, free: 130.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/11.27, allocations: 9.375 kB / 4.323 GB, free: 130.5 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005306/11.27, allocations: 98.28 kB / 4.324 GB, free: 130.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001311/11.28, allocations: 156.2 kB / 4.324 GB, free: 130.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003845/11.28, allocations: 2.997 MB / 4.327 GB, free: 127.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/11.28, allocations: 135.8 kB / 4.327 GB, free: 127.9 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/11.28, allocations: 33.05 kB / 4.327 GB, free: 127.9 MB / 0.9512 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.0003681/11.28, allocations: 118.4 kB / 4.327 GB, free: 127.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003573/11.28, allocations: 132.8 kB / 4.327 GB, free: 127.7 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003027/11.29, allocations: 0.8667 MB / 4.328 GB, free: 127.6 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/11.29, allocations: 8.422 kB / 4.328 GB, free: 127.6 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/11.29, allocations: 0 / 4.328 GB, free: 127.6 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002096/11.29, allocations: 0.9877 MB / 4.329 GB, free: 127.1 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006981/11.3, allocations: 2.222 MB / 4.331 GB, free: 126.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/11.3, allocations: 5.875 kB / 4.331 GB, free: 126.7 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00157/11.3, allocations: 163 kB / 4.331 GB, free: 126.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002597/11.3, allocations: 70.3 kB / 4.331 GB, free: 126.7 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.373e-05/11.3, allocations: 10.59 kB / 4.331 GB, free: 126.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/11.3, allocations: 1.756 MB / 4.333 GB, free: 125.1 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/11.3, allocations: 6.406 kB / 4.333 GB, free: 125.1 MB / 0.9512 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003714/11.3, allocations: 1.467 MB / 4.334 GB, free: 124.6 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001171/11.3, allocations: 313.6 kB / 4.335 GB, free: 124.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/11.3, allocations: 4.797 kB / 4.335 GB, free: 124.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/11.31, allocations: 114.9 kB / 4.335 GB, free: 124.4 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/11.31, allocations: 45.83 kB / 4.335 GB, free: 124.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/11.31, allocations: 31.48 kB / 4.335 GB, free: 124.4 MB / 0.9512 GB Notification: Performance of sort global known variables: time 0.001621/11.31, allocations: 0.6772 MB / 4.336 GB, free: 124.3 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00438/11.31, allocations: 0.9194 MB / 4.336 GB, free: 124.1 MB / 0.9512 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.004573/11.32, allocations: 2.248 MB / 4.339 GB, free: 123.5 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004165/11.32, allocations: 1.285 MB / 4.34 GB, free: 123.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 8.346e-06/11.32, allocations: 2.531 kB / 4.34 GB, free: 123.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/11.32, allocations: 371.2 kB / 4.34 GB, free: 123.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007402/11.33, allocations: 0.7101 MB / 4.341 GB, free: 123.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006793/11.34, allocations: 2.093 MB / 4.343 GB, free: 122.7 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002118/11.34, allocations: 1.42 MB / 4.344 GB, free: 122 MB / 0.9512 GB Notification: Performance of SimCode: time 1.663e-06/11.34, allocations: 0 / 4.344 GB, free: 122 MB / 0.9512 GB Notification: Performance of Templates: time 0.1083/11.45, allocations: 40.19 MB / 4.384 GB, free: 119.2 MB / 0.9512 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HexElementSensible.pipe 2>&1)