Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PressureDropsExplicit,fileNamePrefix="Buildings_6_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 loadModel(Buildings): time 3.955/3.955, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5432/4.498, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/4.756, allocations: 98.72 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.461/10.22, allocations: 2.18 GB / 2.808 GB, free: 168.1 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/10.22, allocations: 89.08 kB / 2.808 GB, free: 168.1 MB / 0.823 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.676/16.89, allocations: 1.373 GB / 4.181 GB, free: 81.21 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/16.89, allocations: 12 kB / 4.181 GB, free: 81.21 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001381/16.9, allocations: 210.8 kB / 4.181 GB, free: 81.11 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003851/16.9, allocations: 0.9751 MB / 4.182 GB, free: 80.43 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001723/16.9, allocations: 93.92 kB / 4.183 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001798/16.9, allocations: 56.56 kB / 4.183 GB, free: 80.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001468/16.9, allocations: 432.8 kB / 4.183 GB, free: 80.18 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001806/16.9, allocations: 0.6967 MB / 4.184 GB, free: 79.74 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.214e-05/16.9, allocations: 4.969 kB / 4.184 GB, free: 79.74 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/16.9, allocations: 1.781 kB / 4.184 GB, free: 79.74 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.15e-05/16.9, allocations: 20.12 kB / 4.184 GB, free: 79.74 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007667/16.91, allocations: 3.799 MB / 4.187 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/16.91, allocations: 320.8 kB / 4.188 GB, free: 76.11 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004519/16.91, allocations: 221 kB / 4.188 GB, free: 75.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000278/16.91, allocations: 96.91 kB / 4.188 GB, free: 75.88 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/16.91, allocations: 53.67 kB / 4.188 GB, free: 75.83 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=33): time 3.347e-06/16.91, allocations: 0 / 4.188 GB, free: 75.83 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.002172/16.91, allocations: 442.5 kB / 4.188 GB, free: 75.61 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.921e-05/16.91, allocations: 241.6 kB / 4.189 GB, free: 75.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/16.92, allocations: 0.6451 MB / 4.189 GB, free: 74.97 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002336/16.92, allocations: 31.36 kB / 4.189 GB, free: 74.94 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003023/16.92, allocations: 388.2 kB / 4.19 GB, free: 74.61 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001232/16.92, allocations: 112.4 kB / 4.19 GB, free: 74.51 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/16.92, allocations: 0 / 4.19 GB, free: 74.51 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.282e-05/16.92, allocations: 317.5 kB / 4.19 GB, free: 74.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002597/16.92, allocations: 78.77 kB / 4.19 GB, free: 74.17 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004772/16.92, allocations: 355.2 kB / 4.191 GB, free: 73.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003535/16.92, allocations: 124.2 kB / 4.191 GB, free: 73.74 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/16.92, allocations: 1.125 kB / 4.191 GB, free: 73.74 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001764/16.92, allocations: 472.9 kB / 4.191 GB, free: 73.5 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002993/16.92, allocations: 1.316 MB / 4.192 GB, free: 72.11 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/16.92, allocations: 4.438 kB / 4.192 GB, free: 72.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003046/16.92, allocations: 67.91 kB / 4.192 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001026/16.92, allocations: 86.19 kB / 4.193 GB, free: 72.05 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001646/16.92, allocations: 2.343 MB / 4.195 GB, free: 69.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/16.92, allocations: 62.53 kB / 4.195 GB, free: 69.71 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001064/16.92, allocations: 23.42 kB / 4.195 GB, free: 69.71 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/16.92, allocations: 8.719 kB / 4.195 GB, free: 69.7 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001003/16.93, allocations: 279.4 kB / 4.195 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/16.93, allocations: 4.906 kB / 4.195 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003973/16.93, allocations: 71.11 kB / 4.195 GB, free: 69.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005549/16.93, allocations: 71.45 kB / 4.195 GB, free: 69.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002929/16.93, allocations: 2.771 MB / 4.198 GB, free: 66.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/16.93, allocations: 73.39 kB / 4.198 GB, free: 66.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-05/16.93, allocations: 22.59 kB / 4.198 GB, free: 66.71 MB / 0.8698 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.0002697/16.93, allocations: 126.2 kB / 4.198 GB, free: 66.59 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004689/16.93, allocations: 98.94 kB / 4.198 GB, free: 66.54 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/16.93, allocations: 323.2 kB / 4.199 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.341e-05/16.93, allocations: 5.562 kB / 4.199 GB, free: 66.36 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/16.93, allocations: 6.344 kB / 4.199 GB, free: 66.35 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/16.93, allocations: 6.141 kB / 4.199 GB, free: 66.35 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004719/16.94, allocations: 1.95 MB / 4.201 GB, free: 64.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.369e-05/16.94, allocations: 5.5 kB / 4.201 GB, free: 64.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005821/16.94, allocations: 81.22 kB / 4.201 GB, free: 64.78 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002144/16.94, allocations: 56.28 kB / 4.201 GB, free: 64.75 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.641e-05/16.94, allocations: 10.81 kB / 4.201 GB, free: 64.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/16.94, allocations: 2.311 MB / 4.203 GB, free: 62.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.628e-05/16.94, allocations: 13.44 kB / 4.203 GB, free: 62.44 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001644/16.94, allocations: 0.9468 MB / 4.204 GB, free: 61.52 MB / 0.8698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002427/16.94, allocations: 1.54 MB / 4.205 GB, free: 60.02 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007661/16.95, allocations: 212.8 kB / 4.206 GB, free: 59.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001969/16.95, allocations: 10.34 kB / 4.206 GB, free: 59.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/16.95, allocations: 57.22 kB / 4.206 GB, free: 59.81 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/16.95, allocations: 33.02 kB / 4.206 GB, free: 59.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.096e-05/16.95, allocations: 18.95 kB / 4.206 GB, free: 59.79 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.001105/16.95, allocations: 0.4981 MB / 4.206 GB, free: 59.51 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.008539/16.96, allocations: 1.674 MB / 4.208 GB, free: 58.3 MB / 0.8698 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.007337/16.96, allocations: 3.933 MB / 4.212 GB, free: 56.06 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002715/16.97, allocations: 0.6617 MB / 4.212 GB, free: 55.67 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/16.97, allocations: 0.75 kB / 4.212 GB, free: 55.67 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008134/16.97, allocations: 169.8 kB / 4.213 GB, free: 55.61 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004331/16.97, allocations: 420.6 kB / 4.213 GB, free: 55.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004352/16.98, allocations: 1.329 MB / 4.214 GB, free: 54.61 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001453/16.98, allocations: 1.222 MB / 4.215 GB, free: 53.68 MB / 0.8698 GB Notification: Performance of SimCode: time 1.673e-06/16.98, allocations: 0 / 4.215 GB, free: 53.68 MB / 0.8698 GB