Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_7_0_0_Buildings_Fluid_FixedResistances_Validation_PressureDropsExplicit",fmuType="me",version="2.0",platforms={"static"}) [: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 7.0.1/package.mo): time 2.077/2.077, allocations: 248.6 MB / 255.9 MB, free: 7.105 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00178/0.00178, allocations: 181.2 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.906/1.906, allocations: 205.1 MB / 0.5658 GB, free: 396 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001292/0.001292, allocations: 92.95 kB / 0.67 GB, free: 5.594 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4709/0.4722, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.6984, allocations: 106.3 MB / 0.8835 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.713/6.412, allocations: 2.185 GB / 3.069 GB, free: 188.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/6.412, allocations: 85.62 kB / 3.069 GB, free: 188.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: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 6.797/13.21, allocations: 1.373 GB / 4.441 GB, free: 98.13 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/13.21, allocations: 11.03 kB / 4.441 GB, free: 98.13 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001456/13.21, allocations: 208 kB / 4.441 GB, free: 98.05 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003777/13.22, allocations: 0.9582 MB / 4.442 GB, free: 97.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001626/13.22, allocations: 95.09 kB / 4.442 GB, free: 97.68 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/13.22, allocations: 53.84 kB / 4.442 GB, free: 97.68 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001377/13.22, allocations: 412.5 kB / 4.443 GB, free: 97.68 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001774/13.22, allocations: 0.7846 MB / 4.444 GB, free: 97.39 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.471e-05/13.22, allocations: 9.906 kB / 4.444 GB, free: 97.39 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000104/13.22, allocations: 6.234 kB / 4.444 GB, free: 97.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.515e-05/13.22, allocations: 18.31 kB / 4.444 GB, free: 97.39 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00779/13.23, allocations: 4.862 MB / 4.448 GB, free: 93.88 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006287/13.23, allocations: 393.6 kB / 4.449 GB, free: 93.54 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/13.23, allocations: 248.8 kB / 4.449 GB, free: 93.43 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002371/13.23, allocations: 105.2 kB / 4.449 GB, free: 93.34 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/13.23, allocations: 56.72 kB / 4.449 GB, free: 93.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=33): time 3.236e-06/13.23, allocations: 0 / 4.449 GB, free: 93.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33): time 0.002239/13.23, allocations: 461.1 kB / 4.45 GB, free: 93.18 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/13.23, allocations: 395.7 kB / 4.45 GB, free: 92.71 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001343/13.23, allocations: 0.6506 MB / 4.451 GB, free: 92.58 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/13.23, allocations: 25.7 kB / 4.451 GB, free: 92.55 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/13.23, allocations: 383.2 kB / 4.451 GB, free: 92.33 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/13.23, allocations: 107.2 kB / 4.451 GB, free: 92.26 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.173e-05/13.23, allocations: 0 / 4.451 GB, free: 92.26 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/13.23, allocations: 327 kB / 4.451 GB, free: 91.95 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002233/13.23, allocations: 81.75 kB / 4.452 GB, free: 91.95 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004392/13.23, allocations: 350.3 kB / 4.452 GB, free: 91.65 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/13.23, allocations: 133.2 kB / 4.452 GB, free: 91.64 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/13.23, allocations: 2.844 kB / 4.452 GB, free: 91.64 MB / 0.9167 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001601/13.24, allocations: 468.6 kB / 4.452 GB, free: 91.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002967/13.24, allocations: 1.32 MB / 4.454 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/13.24, allocations: 7.406 kB / 4.454 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003025/13.24, allocations: 67.19 kB / 4.454 GB, free: 90.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/13.24, allocations: 87.56 kB / 4.454 GB, free: 90.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/13.24, allocations: 2.334 MB / 4.456 GB, free: 87.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001489/13.24, allocations: 65.41 kB / 4.456 GB, free: 87.9 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/13.24, allocations: 25.77 kB / 4.456 GB, free: 87.9 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/13.24, allocations: 6.25 kB / 4.456 GB, free: 87.9 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009484/13.24, allocations: 277.5 kB / 4.457 GB, free: 87.87 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/13.24, allocations: 3.031 kB / 4.457 GB, free: 87.87 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003777/13.24, allocations: 74.41 kB / 4.457 GB, free: 87.84 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004977/13.24, allocations: 73.11 kB / 4.457 GB, free: 87.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002874/13.25, allocations: 2.772 MB / 4.459 GB, free: 85.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001338/13.25, allocations: 65.45 kB / 4.459 GB, free: 85.27 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-05/13.25, allocations: 26.39 kB / 4.459 GB, free: 85.27 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {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 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002521/13.25, allocations: 119.1 kB / 4.46 GB, free: 85.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000654/13.25, allocations: 107.9 kB / 4.46 GB, free: 85.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001106/13.25, allocations: 325.9 kB / 4.46 GB, free: 85.03 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/13.25, allocations: 11.44 kB / 4.46 GB, free: 85.02 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/13.25, allocations: 7.562 kB / 4.46 GB, free: 85.02 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/13.25, allocations: 11.22 kB / 4.46 GB, free: 85.02 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004629/13.25, allocations: 2.387 MB / 4.462 GB, free: 83.54 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.216e-06/13.25, allocations: 3.906 kB / 4.462 GB, free: 83.54 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005563/13.25, allocations: 77.59 kB / 4.462 GB, free: 83.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/13.25, allocations: 58.05 kB / 4.462 GB, free: 83.52 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.301e-05/13.25, allocations: 13.62 kB / 4.462 GB, free: 83.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/13.26, allocations: 2.313 MB / 4.465 GB, free: 81.3 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.105e-05/13.26, allocations: 7.891 kB / 4.465 GB, free: 81.3 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00141/13.26, allocations: 0.9434 MB / 4.466 GB, free: 80.5 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00226/13.26, allocations: 1.545 MB / 4.467 GB, free: 79.33 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007093/13.26, allocations: 212.7 kB / 4.467 GB, free: 79.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/13.26, allocations: 11.34 kB / 4.467 GB, free: 79.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/13.26, allocations: 58.33 kB / 4.467 GB, free: 79.18 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/13.26, allocations: 37.3 kB / 4.467 GB, free: 79.17 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.119e-05/13.26, allocations: 17.19 kB / 4.467 GB, free: 79.17 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.000955/13.26, allocations: 0.5012 MB / 4.468 GB, free: 79.06 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.008308/13.27, allocations: 1.665 MB / 4.47 GB, free: 78.97 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {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 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.006727/13.28, allocations: 3.939 MB / 4.473 GB, free: 77.36 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002518/13.28, allocations: 0.6555 MB / 4.474 GB, free: 77.13 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.06e-05/13.28, allocations: 3.844 kB / 4.474 GB, free: 77.13 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0007387/13.28, allocations: 182.7 kB / 4.474 GB, free: 77.11 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003982/13.29, allocations: 411.2 kB / 4.475 GB, free: 77.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003508/13.29, allocations: 1.325 MB / 4.476 GB, free: 76.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009637/13.29, allocations: 1.217 MB / 4.477 GB, free: 75.81 MB / 0.9167 GB Notification: Performance of SimCode: time 1.011e-06/13.29, allocations: 3.688 kB / 4.477 GB, free: 75.81 MB / 0.9167 GB