Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction") [: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.291/2.291, allocations: 284.9 MB / 292.2 MB, free: 9.879 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00166/0.00166, allocations: 182.5 kB / 360.4 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.859/1.859, allocations: 205.1 MB / 0.6188 GB, free: 3.336 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001345/0.001344, allocations: 80.59 kB / 0.7318 GB, free: 1.773 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 1.238e-05/1.236e-05, allocations: 2.312 kB / 0.8502 GB, free: 150 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2137, allocations: 115.3 MB / 0.9628 GB, free: 57.02 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.103/5.316, allocations: 2.081 GB / 3.044 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/5.317, allocations: 83.41 kB / 3.044 GB, free: 159.6 MB / 0.9323 GB Notification: Performance of FrontEnd: time 4.589/9.905, allocations: 0.9168 GB / 3.961 GB, free: 155.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002579/9.906, allocations: 43.23 kB / 3.961 GB, free: 155.6 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.0065/9.912, allocations: 1.527 MB / 3.963 GB, free: 155.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/9.912, allocations: 12.95 kB / 3.963 GB, free: 155.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004898/9.917, allocations: 418.9 kB / 3.963 GB, free: 155.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004186/9.921, allocations: 1.091 MB / 3.964 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.345e-05/9.922, allocations: 22.62 kB / 3.964 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002079/9.922, allocations: 53.62 kB / 3.964 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002265/9.924, allocations: 0.7389 MB / 3.965 GB, free: 154.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002041/9.926, allocations: 0.7305 MB / 3.965 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.665e-05/9.926, allocations: 3.469 kB / 3.965 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/9.926, allocations: 0 / 3.965 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.782e-05/9.926, allocations: 32.03 kB / 3.966 GB, free: 154.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008512/9.935, allocations: 3.791 MB / 3.969 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/9.937, allocations: 0.5768 MB / 3.97 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008249/9.937, allocations: 375.8 kB / 3.97 GB, free: 153.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001119/9.939, allocations: 0.6447 MB / 3.971 GB, free: 152.4 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.892e-05/9.939, allocations: 40.81 kB / 3.971 GB, free: 152.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.166e-06/9.939, allocations: 3.969 kB / 3.971 GB, free: 152.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.004515/9.943, allocations: 0.904 MB / 3.972 GB, free: 152.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.302e-05/9.943, allocations: 62.03 kB / 3.972 GB, free: 152.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/9.945, allocations: 0.5966 MB / 3.972 GB, free: 152.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001974/9.945, allocations: 29.58 kB / 3.972 GB, free: 152.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002399/9.945, allocations: 334.4 kB / 3.973 GB, free: 151.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/9.945, allocations: 202.7 kB / 3.973 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.102e-05/9.945, allocations: 2.906 kB / 3.973 GB, free: 151.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.512e-05/9.946, allocations: 332 kB / 3.973 GB, free: 151.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006275/9.946, allocations: 238.3 kB / 3.973 GB, free: 151.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007638/9.947, allocations: 384.3 kB / 3.974 GB, free: 151.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/9.948, allocations: 381 kB / 3.974 GB, free: 151.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/9.948, allocations: 1.938 kB / 3.974 GB, free: 151.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002484/9.951, allocations: 0.7831 MB / 3.975 GB, free: 151.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/9.951, allocations: 452.2 kB / 3.975 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/9.951, allocations: 0 / 3.975 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.125e-05/9.951, allocations: 3.594 kB / 3.975 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/9.952, allocations: 137.3 kB / 3.975 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/9.952, allocations: 5.953 kB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00209/9.954, allocations: 116 kB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/9.955, allocations: 25.64 kB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/9.955, allocations: 3.906 kB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002101/9.957, allocations: 0.6479 MB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/9.957, allocations: 0 / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/9.957, allocations: 3.656 kB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/9.958, allocations: 136 kB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/9.958, allocations: 5.781 kB / 3.976 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002096/9.96, allocations: 117.8 kB / 3.977 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001147/9.96, allocations: 29.55 kB / 3.977 GB, free: 150.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * 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.0002857/9.961, allocations: 121.8 kB / 3.977 GB, free: 150.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003095/9.961, allocations: 100.8 kB / 3.977 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002651/9.964, allocations: 0.8121 MB / 3.978 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/9.964, allocations: 7.594 kB / 3.978 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.164e-06/9.964, allocations: 3.375 kB / 3.978 GB, free: 150.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00195/9.966, allocations: 0.982 MB / 3.979 GB, free: 150.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006/9.972, allocations: 1.997 MB / 3.98 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/9.972, allocations: 3.938 kB / 3.98 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001621/9.973, allocations: 157.1 kB / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.932e-05/9.973, allocations: 7.406 kB / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.892e-05/9.974, allocations: 11.25 kB / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.024e-05/9.974, allocations: 6.781 kB / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/9.974, allocations: 7.266 kB / 3.981 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003305/9.977, allocations: 1.439 MB / 3.982 GB, free: 149.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009618/9.978, allocations: 259.8 kB / 3.982 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002448/9.978, allocations: 8.5 kB / 3.982 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002116/9.98, allocations: 119 kB / 3.982 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/9.981, allocations: 40.67 kB / 3.982 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.031e-05/9.981, allocations: 22.97 kB / 3.983 GB, free: 149 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009628/9.982, allocations: 477 kB / 3.983 GB, free: 148.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002884/9.985, allocations: 0.6944 MB / 3.984 GB, free: 148.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],senTem1.T,senTem2.T,senTem3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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.004555/9.989, allocations: 2.593 MB / 3.986 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002605/9.992, allocations: 0.9301 MB / 3.987 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.422e-05/9.992, allocations: 0 / 3.987 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/9.993, allocations: 331.2 kB / 3.987 GB, free: 148.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006586/9.999, allocations: 0.5898 MB / 3.988 GB, free: 148 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005181/10, allocations: 1.731 MB / 3.99 GB, free: 147.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001384/10.01, allocations: 1.242 MB / 3.991 GB, free: 146.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.673e-06/10.01, allocations: 0 / 3.991 GB, free: 146.8 MB / 0.948 GB Notification: Performance of Templates: time 0.08807/10.09, allocations: 35.12 MB / 4.025 GB, free: 146.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.sim & ./Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)