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.PlugFlowPipes.TransportWaterAir.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.PlugFlowPipes.TransportWaterAir,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_TransportWaterAir",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.798/3.798, allocations: 433 MB / 440.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5074/4.305, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2198/4.525, allocations: 98.72 MB / 0.6283 GB, free: 9.773 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.937/10.46, allocations: 2.476 GB / 3.105 GB, free: 177.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/10.46, allocations: 100.6 kB / 3.105 GB, free: 177.6 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: 426 * Number of variables: 426 Notification: Performance of Generate backend data structure: time 6.318/16.78, allocations: 1.362 GB / 4.467 GB, free: 73.61 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/16.78, allocations: 12.06 kB / 4.467 GB, free: 73.61 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007728/16.79, allocations: 0.663 MB / 4.467 GB, free: 73.46 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04879/16.84, allocations: 10.77 MB / 4.478 GB, free: 71.06 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002565/16.84, allocations: 54.06 kB / 4.478 GB, free: 71.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001186/16.84, allocations: 108.7 kB / 4.478 GB, free: 71.05 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007134/16.85, allocations: 1.453 MB / 4.479 GB, free: 70.46 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007294/16.85, allocations: 1.73 MB / 4.481 GB, free: 69.24 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.958e-05/16.85, allocations: 3.938 kB / 4.481 GB, free: 69.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002754/16.85, allocations: 4 kB / 4.481 GB, free: 69.23 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/16.85, allocations: 62.3 kB / 4.481 GB, free: 69.17 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02408/16.88, allocations: 10.39 MB / 4.491 GB, free: 59.03 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/16.88, allocations: 0.7211 MB / 4.492 GB, free: 58.31 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001546/16.88, allocations: 0.5462 MB / 4.493 GB, free: 57.76 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002478/16.89, allocations: 2.22 MB / 4.495 GB, free: 55.06 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.971e-05/16.89, allocations: 47.28 kB / 4.495 GB, free: 55 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=101): time 4.078e-06/16.89, allocations: 0 / 4.495 GB, free: 55 MB / 0.8542 GB Notification: Performance of matching and sorting (n=103): time 0.02032/16.91, allocations: 3.498 MB / 4.498 GB, free: 51.44 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/16.91, allocations: 60.19 kB / 4.498 GB, free: 51.37 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003031/16.91, allocations: 1.324 MB / 4.5 GB, free: 50.01 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.000349/16.91, allocations: 29.7 kB / 4.5 GB, free: 49.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005231/16.91, allocations: 0.7091 MB / 4.5 GB, free: 49.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005486/16.91, allocations: 350.7 kB / 4.501 GB, free: 48.91 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/16.91, allocations: 0 / 4.501 GB, free: 48.91 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001253/16.91, allocations: 349.9 kB / 4.501 GB, free: 48.56 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001164/16.91, allocations: 430.5 kB / 4.501 GB, free: 48.14 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001291/16.91, allocations: 0.722 MB / 4.502 GB, free: 47.29 MB / 0.8542 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: duc.vol.dynBal.medium.p = duc.vol.dynBal.p_start (sin1.p = duc.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01246/16.93, allocations: 2.072 MB / 4.504 GB, free: 45.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/16.93, allocations: 0 / 4.504 GB, free: 45.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00719/16.93, allocations: 1.666 MB / 4.506 GB, free: 43.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006406/16.93, allocations: 3.02 MB / 4.509 GB, free: 40.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.174e-05/16.93, allocations: 15.98 kB / 4.509 GB, free: 40.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/16.93, allocations: 157.6 kB / 4.509 GB, free: 40.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002025/16.94, allocations: 239.6 kB / 4.509 GB, free: 39.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001345/16.94, allocations: 1.233 MB / 4.51 GB, free: 38.59 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003676/16.94, allocations: 131.6 kB / 4.51 GB, free: 38.46 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005529/16.94, allocations: 59.98 kB / 4.51 GB, free: 38.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/16.94, allocations: 4 kB / 4.51 GB, free: 38.39 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006603/16.95, allocations: 1.437 MB / 4.512 GB, free: 36.95 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.606e-05/16.95, allocations: 24.02 kB / 4.512 GB, free: 36.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009543/16.95, allocations: 165.5 kB / 4.512 GB, free: 36.76 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001988/16.95, allocations: 239.6 kB / 4.512 GB, free: 36.53 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/16.95, allocations: 1.237 MB / 4.513 GB, free: 35.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003405/16.96, allocations: 107.8 kB / 4.514 GB, free: 35.14 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/16.96, allocations: 71.97 kB / 4.514 GB, free: 35.07 MB / 0.8542 GB Warning: Assuming redundant initial conditions for the following 1 initial equations: duc.vol.dynBal.medium.p = duc.vol.dynBal.p_start Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (139): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 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.0004406/16.96, allocations: 129.4 kB / 4.514 GB, free: 34.93 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004332/16.96, allocations: 197.6 kB / 4.514 GB, free: 34.74 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007171/16.97, allocations: 1.973 MB / 4.516 GB, free: 32.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.482e-05/16.97, allocations: 15.98 kB / 4.516 GB, free: 32.73 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.286e-05/16.97, allocations: 3.906 kB / 4.516 GB, free: 32.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005331/16.97, allocations: 1.55 MB / 4.517 GB, free: 31.12 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/16.98, allocations: 3.719 MB / 4.521 GB, free: 27.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.236e-05/16.98, allocations: 11.98 kB / 4.521 GB, free: 27.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/16.98, allocations: 180.3 kB / 4.521 GB, free: 27.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007573/16.99, allocations: 150.3 kB / 4.521 GB, free: 26.95 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001386/16.99, allocations: 27.98 kB / 4.521 GB, free: 26.92 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002589/16.99, allocations: 2.642 MB / 4.524 GB, free: 24.11 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/16.99, allocations: 4 kB / 4.524 GB, free: 24.11 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007599/17, allocations: 2.84 MB / 4.527 GB, free: 21.04 MB / 0.8542 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01069/17.01, allocations: 4.184 MB / 4.531 GB, free: 16.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001815/17.01, allocations: 446.3 kB / 4.531 GB, free: 16.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007719/17.01, allocations: 11.98 kB / 4.531 GB, free: 16.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003156/17.01, allocations: 91.77 kB / 4.531 GB, free: 16.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004192/17.01, allocations: 92.72 kB / 4.531 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001833/17.01, allocations: 47.98 kB / 4.531 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.002338/17.02, allocations: 0.9982 MB / 4.532 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.01093/17.03, allocations: 2.179 MB / 4.535 GB, free: 12.71 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 8 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,duc.cor.del.x,duc.cor.timDel.x,duc.vol.dynBal.U,duc.vol.dynBal.mXi[1],duc.vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006092/17.03, allocations: 3.724 MB / 4.538 GB, free: 8.754 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005275/17.04, allocations: 2.202 MB / 4.54 GB, free: 6.48 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.889e-06/17.04, allocations: 4.125 kB / 4.54 GB, free: 6.477 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001905/17.04, allocations: 0.9378 MB / 4.541 GB, free: 5.496 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007868/17.05, allocations: 0.8719 MB / 4.542 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01786/17.07, allocations: 3.801 MB / 4.546 GB, free: 0.7734 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004283/17.07, allocations: 1.886 MB / 4.548 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of SimCode: time 1.352e-06/17.07, allocations: 0 / 4.548 GB, free: 14.85 MB / 0.8698 GB