Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.FixedResistances.BaseClasses.Validation.PlugFlowCore.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.BaseClasses.Validation.PlugFlowCore,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_FixedResistances_BaseClasses_Validation_PlugFlowCore",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.885/3.885, allocations: 433 MB / 440.3 MB, free: 4.832 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5058/4.391, allocations: 104.3 MB / 0.5319 GB, free: 13.02 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/4.606, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9391/5.545, allocations: 405.9 MB / 1.025 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003591/5.546, allocations: 100.1 kB / 1.025 GB, free: 14.62 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 1.499/7.045, allocations: 343.5 MB / 1.36 GB, free: 63.84 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/7.045, allocations: 11.94 kB / 1.36 GB, free: 63.83 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000401/7.045, allocations: 90.97 kB / 1.36 GB, free: 63.74 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03894/7.084, allocations: 8.233 MB / 1.368 GB, free: 55.39 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/7.084, allocations: 16 kB / 1.368 GB, free: 55.38 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/7.084, allocations: 28 kB / 1.368 GB, free: 55.35 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009792/7.085, allocations: 309.9 kB / 1.369 GB, free: 55.04 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009703/7.086, allocations: 409 kB / 1.369 GB, free: 54.63 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.767e-05/7.086, allocations: 0 / 1.369 GB, free: 54.63 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.008e-05/7.086, allocations: 0 / 1.369 GB, free: 54.63 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/7.086, allocations: 8 kB / 1.369 GB, free: 54.62 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005588/7.092, allocations: 2.569 MB / 1.372 GB, free: 51.79 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008969/7.093, allocations: 295.6 kB / 1.372 GB, free: 51.49 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003192/7.093, allocations: 133.1 kB / 1.372 GB, free: 51.36 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/7.095, allocations: 1.428 MB / 1.373 GB, free: 49.61 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/7.095, allocations: 38.56 kB / 1.373 GB, free: 49.57 MB / 0.823 GB Notification: Performance of pre-optimization done (n=33): time 3.627e-06/7.095, allocations: 0 / 1.373 GB, free: 49.57 MB / 0.823 GB Notification: Performance of matching and sorting (n=33): time 0.002414/7.097, allocations: 444.2 kB / 1.374 GB, free: 49.13 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/7.097, allocations: 55.41 kB / 1.374 GB, free: 49.06 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008936/7.098, allocations: 483.5 kB / 1.374 GB, free: 48.58 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.257e-05/7.098, allocations: 25.7 kB / 1.374 GB, free: 48.55 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001575/7.098, allocations: 251.8 kB / 1.375 GB, free: 48.3 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/7.099, allocations: 122.2 kB / 1.375 GB, free: 48.18 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.165e-05/7.099, allocations: 0 / 1.375 GB, free: 48.18 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001168/7.099, allocations: 372.4 kB / 1.375 GB, free: 47.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003245/7.099, allocations: 112.8 kB / 1.375 GB, free: 47.69 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000372/7.099, allocations: 185.8 kB / 1.375 GB, free: 47.48 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/7.102, allocations: 277.3 kB / 1.376 GB, free: 47.21 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-06/7.102, allocations: 0 / 1.376 GB, free: 47.21 MB / 0.823 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.00261/7.105, allocations: 0.5251 MB / 1.376 GB, free: 46.68 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000106/7.105, allocations: 360 kB / 1.377 GB, free: 46.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.046e-05/7.105, allocations: 7.906 kB / 1.377 GB, free: 46.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.643e-05/7.105, allocations: 4 kB / 1.377 GB, free: 46.29 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001013/7.106, allocations: 107.9 kB / 1.377 GB, free: 46.19 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004168/7.107, allocations: 0.5821 MB / 1.377 GB, free: 45.58 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009459/7.108, allocations: 59.69 kB / 1.377 GB, free: 45.52 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.612e-05/7.108, allocations: 23.98 kB / 1.377 GB, free: 45.5 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/7.108, allocations: 0 / 1.377 GB, free: 45.5 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002372/7.11, allocations: 447.5 kB / 1.378 GB, free: 45.06 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.554e-05/7.11, allocations: 7.938 kB / 1.378 GB, free: 45.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.215e-05/7.11, allocations: 4 kB / 1.378 GB, free: 45.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007142/7.111, allocations: 99.91 kB / 1.378 GB, free: 44.95 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.553e-06/7.111, allocations: 0 / 1.378 GB, free: 44.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008593/7.112, allocations: 47.66 kB / 1.378 GB, free: 44.91 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.13e-05/7.112, allocations: 23.98 kB / 1.378 GB, free: 44.88 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0001707/7.112, allocations: 108.9 kB / 1.378 GB, free: 44.77 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001419/7.112, allocations: 67.16 kB / 1.378 GB, free: 44.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003285/7.116, allocations: 0.9145 MB / 1.379 GB, free: 43.77 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/7.116, allocations: 7.984 kB / 1.379 GB, free: 43.77 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/7.116, allocations: 0 / 1.379 GB, free: 43.77 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/7.116, allocations: 3.984 kB / 1.379 GB, free: 43.76 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/7.12, allocations: 1.31 MB / 1.38 GB, free: 42.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/7.12, allocations: 12.02 kB / 1.38 GB, free: 42.39 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000737/7.12, allocations: 79.89 kB / 1.38 GB, free: 42.31 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.11e-05/7.12, allocations: 4 kB / 1.38 GB, free: 42.31 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/7.121, allocations: 11.91 kB / 1.38 GB, free: 42.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000283/7.121, allocations: 0.5938 MB / 1.381 GB, free: 41.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.947e-06/7.121, allocations: 0 / 1.381 GB, free: 41.68 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002715/7.124, allocations: 0.97 MB / 1.382 GB, free: 40.69 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003424/7.127, allocations: 1.662 MB / 1.384 GB, free: 39 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000424/7.128, allocations: 215.9 kB / 1.384 GB, free: 38.77 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/7.128, allocations: 0 / 1.384 GB, free: 38.77 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007135/7.128, allocations: 27.89 kB / 1.384 GB, free: 38.74 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/7.129, allocations: 36.38 kB / 1.384 GB, free: 38.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.33e-05/7.129, allocations: 16 kB / 1.384 GB, free: 38.69 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0006446/7.129, allocations: 371.2 kB / 1.384 GB, free: 38.33 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003843/7.133, allocations: 0.6085 MB / 1.385 GB, free: 37.72 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (pip.del.x,pip.timDel.x,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.001518/7.135, allocations: 0.6416 MB / 1.385 GB, free: 37.07 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001869/7.137, allocations: 0.6929 MB / 1.386 GB, free: 36.36 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.706e-06/7.137, allocations: 0 / 1.386 GB, free: 36.36 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006824/7.137, allocations: 325.1 kB / 1.386 GB, free: 36.03 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/7.14, allocations: 243 kB / 1.387 GB, free: 35.79 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002965/7.143, allocations: 1.067 MB / 1.388 GB, free: 34.69 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007519/7.143, allocations: 1.052 MB / 1.389 GB, free: 33.6 MB / 0.823 GB Notification: Performance of SimCode: time 1.152e-06/7.143, allocations: 0 / 1.389 GB, free: 33.6 MB / 0.823 GB