Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") translateModel(Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries") [: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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.487/0.487, allocations: 94.74 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00115/0.001149, allocations: 167.5 kB / 125.3 MB, free: 12.02 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.329/1.329, allocations: 170.5 MB / 319 MB, free: 9.336 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00176/0.00176, allocations: 109.4 kB / 381 MB, free: 18.25 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 7.885e-06/7.925e-06, allocations: 3.938 kB / 448.6 MB, free: 2.109 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1449, allocations: 61.51 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9526/1.098, allocations: 371.2 MB / 0.8606 GB, free: 1.777 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002557/1.098, allocations: 84.55 kB / 0.8607 GB, free: 1.738 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.393/2.491, allocations: 425.2 MB / 1.276 GB, free: 7.199 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001906/2.491, allocations: 35.92 kB / 1.276 GB, free: 7.164 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 120 * Number of variables: 120 Notification: Performance of Generate backend data structure: time 0.002475/2.493, allocations: 1.089 MB / 1.277 GB, free: 6.035 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/2.493, allocations: 9.031 kB / 1.277 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006966/2.494, allocations: 134.5 kB / 1.277 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.2378/2.732, allocations: 7.105 MB / 1.284 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/2.732, allocations: 15.25 kB / 1.284 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/2.732, allocations: 37.34 kB / 1.284 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006357/2.733, allocations: 399.8 kB / 1.285 GB, free: 197.5 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006901/2.733, allocations: 0.5137 MB / 1.285 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/2.733, allocations: 0 / 1.285 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/2.734, allocations: 0 / 1.285 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.394e-05/2.734, allocations: 17.06 kB / 1.285 GB, free: 197.4 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/2.736, allocations: 2.581 MB / 1.288 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/2.737, allocations: 314.5 kB / 1.288 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001944/2.737, allocations: 177.7 kB / 1.288 GB, free: 195.8 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 9.865e-05/2.737, allocations: 88.22 kB / 1.288 GB, free: 195.7 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/2.737, allocations: 45.06 kB / 1.288 GB, free: 195.6 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=26): time 2.204e-06/2.737, allocations: 0.75 kB / 1.288 GB, free: 195.6 MB / 0.5105 GB Notification: Performance of matching and sorting (n=26): time 0.001254/2.738, allocations: 0.5146 MB / 1.289 GB, free: 195.5 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/2.739, allocations: 109.1 kB / 1.289 GB, free: 195.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007595/2.739, allocations: 0.762 MB / 1.29 GB, free: 195.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/2.739, allocations: 28.61 kB / 1.29 GB, free: 195.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/2.739, allocations: 321.3 kB / 1.29 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/2.74, allocations: 92.12 kB / 1.29 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.422e-05/2.74, allocations: 0 / 1.29 GB, free: 195.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.645e-05/2.74, allocations: 322.3 kB / 1.29 GB, free: 194.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001295/2.74, allocations: 106.8 kB / 1.29 GB, free: 194.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/2.74, allocations: 323.9 kB / 1.291 GB, free: 194.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/2.741, allocations: 362.9 kB / 1.291 GB, free: 194.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/2.741, allocations: 3.906 kB / 1.291 GB, free: 194.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.00156/2.743, allocations: 0.7041 MB / 1.292 GB, free: 194.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/2.743, allocations: 1.054 MB / 1.293 GB, free: 193.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/2.743, allocations: 5.875 kB / 1.293 GB, free: 193.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/2.743, allocations: 177.1 kB / 1.293 GB, free: 193.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/2.743, allocations: 43.14 kB / 1.293 GB, free: 193.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001625/2.745, allocations: 1.12 MB / 1.294 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005983/2.746, allocations: 70.11 kB / 1.294 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.745e-05/2.746, allocations: 17.27 kB / 1.294 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/2.746, allocations: 3.938 kB / 1.294 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007624/2.747, allocations: 0.5149 MB / 1.295 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-06/2.747, allocations: 7.875 kB / 1.295 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002773/2.747, allocations: 148.5 kB / 1.295 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/2.747, allocations: 38.94 kB / 1.295 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002349/2.749, allocations: 2.494 MB / 1.297 GB, free: 191.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005349/2.75, allocations: 67.48 kB / 1.297 GB, free: 191.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.409e-05/2.75, allocations: 11.56 kB / 1.297 GB, free: 191.3 MB / 0.5105 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 (18): * Single equations (assignments): 17 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.00016/2.75, allocations: 112.9 kB / 1.297 GB, free: 191.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/2.75, allocations: 95.81 kB / 1.298 GB, free: 191.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/2.751, allocations: 0.6662 MB / 1.298 GB, free: 191 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/2.751, allocations: 0 / 1.298 GB, free: 191 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/2.752, allocations: 7.688 kB / 1.298 GB, free: 191 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/2.752, allocations: 3.703 kB / 1.298 GB, free: 191 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001675/2.753, allocations: 1.454 MB / 1.3 GB, free: 190.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/2.753, allocations: 0 / 1.3 GB, free: 190.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/2.754, allocations: 64.03 kB / 1.3 GB, free: 190.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001609/2.754, allocations: 93.62 kB / 1.3 GB, free: 190.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/2.754, allocations: 0 / 1.3 GB, free: 190.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/2.756, allocations: 2.506 MB / 1.302 GB, free: 188.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/2.756, allocations: 3.938 kB / 1.302 GB, free: 188.4 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007074/2.756, allocations: 0.6347 MB / 1.303 GB, free: 188.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00018/2.756, allocations: 156 kB / 1.303 GB, free: 188 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.771e-05/2.757, allocations: 3.375 kB / 1.303 GB, free: 188 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003992/2.757, allocations: 39.78 kB / 1.303 GB, free: 188 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.572e-05/2.757, allocations: 21.56 kB / 1.303 GB, free: 188 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.15e-05/2.757, allocations: 6.594 kB / 1.303 GB, free: 188 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0007336/2.758, allocations: 0.609 MB / 1.304 GB, free: 187.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001395/2.759, allocations: 400.2 kB / 1.304 GB, free: 187.8 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * 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: 1 * 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: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006762/2.76, allocations: 289.5 kB / 1.304 GB, free: 187.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001131/2.761, allocations: 0.6363 MB / 1.305 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/2.761, allocations: 0 / 1.305 GB, free: 187.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0005893/2.762, allocations: 299.8 kB / 1.305 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/2.763, allocations: 328.2 kB / 1.306 GB, free: 187.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/2.765, allocations: 1.255 MB / 1.307 GB, free: 187.2 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006879/2.766, allocations: 1.244 MB / 1.308 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of SimCode: time 4.31e-07/2.766, allocations: 3.844 kB / 1.308 GB, free: 186.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.02864/2.795, allocations: 16.4 MB / 1.324 GB, free: 186.1 MB / 0.5105 GB make -j1 -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.makefile (rm -f Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe >> ../files/Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.sim & ./Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.FixedResistances.Examples.FixedResistancesSeries.pipe 2>&1)