Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.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.Actuators.Dampers.Examples.MixingBoxMinimumFlow,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Actuators_Dampers_Examples_MixingBoxMinimumFlow",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 4.274/4.274, allocations: 433 MB / 440.3 MB, free: 4.816 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.6103/4.884, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/5.151, allocations: 98.71 MB / 0.6283 GB, free: 9.809 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.546/10.7, allocations: 2.197 GB / 2.825 GB, free: 149.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/10.7, allocations: 91.08 kB / 2.825 GB, free: 149.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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 3.545/14.24, allocations: 0.7177 GB / 3.543 GB, free: 62.68 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.917e-05/14.24, allocations: 8 kB / 3.543 GB, free: 62.68 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007263/14.25, allocations: 481.8 kB / 3.543 GB, free: 62.2 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004883/14.26, allocations: 1.194 MB / 3.544 GB, free: 60.95 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.174e-05/14.26, allocations: 20 kB / 3.544 GB, free: 60.93 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/14.26, allocations: 51.94 kB / 3.544 GB, free: 60.88 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002175/14.26, allocations: 0.7289 MB / 3.545 GB, free: 60.16 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/14.26, allocations: 0.7986 MB / 3.546 GB, free: 59.32 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.294e-05/14.26, allocations: 0 / 3.546 GB, free: 59.32 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/14.26, allocations: 0 / 3.546 GB, free: 59.32 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/14.26, allocations: 16 kB / 3.546 GB, free: 59.31 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009007/14.27, allocations: 3.186 MB / 3.549 GB, free: 55.98 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00168/14.27, allocations: 0.7276 MB / 3.55 GB, free: 55.23 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009055/14.27, allocations: 397 kB / 3.55 GB, free: 54.84 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/14.27, allocations: 291.7 kB / 3.55 GB, free: 54.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/14.27, allocations: 42.98 kB / 3.55 GB, free: 54.45 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 4.458e-06/14.27, allocations: 0 / 3.55 GB, free: 54.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.00327/14.28, allocations: 0.8919 MB / 3.551 GB, free: 53.55 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.268e-05/14.28, allocations: 218 kB / 3.551 GB, free: 53.29 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002387/14.28, allocations: 0.9899 MB / 3.552 GB, free: 52.29 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002977/14.28, allocations: 25.7 kB / 3.552 GB, free: 52.25 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002685/14.28, allocations: 330.5 kB / 3.553 GB, free: 51.92 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002538/14.28, allocations: 181.3 kB / 3.553 GB, free: 51.74 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.945e-05/14.28, allocations: 0 / 3.553 GB, free: 51.74 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.549e-05/14.28, allocations: 322 kB / 3.553 GB, free: 51.42 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000929/14.28, allocations: 369.2 kB / 3.554 GB, free: 51.06 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/14.28, allocations: 0.5832 MB / 3.554 GB, free: 50.39 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001204/14.28, allocations: 436.1 kB / 3.555 GB, free: 49.96 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/14.28, allocations: 0 / 3.555 GB, free: 49.96 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002978/14.29, allocations: 0.9904 MB / 3.556 GB, free: 48.96 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.756e-05/14.29, allocations: 101 kB / 3.556 GB, free: 48.86 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.08e-05/14.29, allocations: 4 kB / 3.556 GB, free: 48.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/14.29, allocations: 8.875 kB / 3.556 GB, free: 48.85 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001909/14.29, allocations: 171.8 kB / 3.556 GB, free: 48.68 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/14.29, allocations: 4 kB / 3.556 GB, free: 48.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/14.29, allocations: 111.4 kB / 3.556 GB, free: 48.57 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003639/14.29, allocations: 47.95 kB / 3.556 GB, free: 48.52 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/14.29, allocations: 8 kB / 3.556 GB, free: 48.51 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003196/14.29, allocations: 0.83 MB / 3.557 GB, free: 47.68 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.958e-05/14.29, allocations: 7.984 kB / 3.557 GB, free: 47.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.171e-05/14.29, allocations: 3.938 kB / 3.557 GB, free: 47.67 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002032/14.3, allocations: 175.8 kB / 3.557 GB, free: 47.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/14.3, allocations: 7.906 kB / 3.557 GB, free: 47.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002775/14.3, allocations: 111.6 kB / 3.557 GB, free: 47.38 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002408/14.3, allocations: 39.95 kB / 3.557 GB, free: 47.34 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 65 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003509/14.3, allocations: 126.6 kB / 3.557 GB, free: 47.21 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004923/14.3, allocations: 114.6 kB / 3.557 GB, free: 47.1 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/14.3, allocations: 0.9682 MB / 3.558 GB, free: 46.12 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/14.3, allocations: 4 kB / 3.558 GB, free: 46.12 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/14.3, allocations: 0 / 3.558 GB, free: 46.12 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/14.3, allocations: 0 / 3.558 GB, free: 46.12 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005842/14.31, allocations: 2.166 MB / 3.56 GB, free: 43.87 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.718e-06/14.31, allocations: 7.984 kB / 3.56 GB, free: 43.86 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001683/14.31, allocations: 140.1 kB / 3.561 GB, free: 43.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.605e-05/14.31, allocations: 4 kB / 3.561 GB, free: 43.72 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.203e-05/14.31, allocations: 15.98 kB / 3.561 GB, free: 43.71 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.835e-06/14.31, allocations: 4 kB / 3.561 GB, free: 43.7 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.751e-06/14.31, allocations: 4 kB / 3.561 GB, free: 43.7 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00366/14.32, allocations: 1.516 MB / 3.562 GB, free: 42.1 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005/14.32, allocations: 2.482 MB / 3.564 GB, free: 39.53 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/14.32, allocations: 315.4 kB / 3.565 GB, free: 39.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004868/14.32, allocations: 8 kB / 3.565 GB, free: 39.19 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002449/14.33, allocations: 75.7 kB / 3.565 GB, free: 39.12 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002797/14.33, allocations: 44.38 kB / 3.565 GB, free: 39.07 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001074/14.33, allocations: 31.98 kB / 3.565 GB, free: 39.04 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.001922/14.33, allocations: 0.7601 MB / 3.566 GB, free: 38.28 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006381/14.33, allocations: 1.128 MB / 3.567 GB, free: 37.15 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 63 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003675/14.34, allocations: 2.153 MB / 3.569 GB, free: 34.91 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003584/14.34, allocations: 1.369 MB / 3.57 GB, free: 33.51 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 9.608e-06/14.34, allocations: 0 / 3.57 GB, free: 33.51 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0009107/14.34, allocations: 373.8 kB / 3.571 GB, free: 33.14 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00498/14.35, allocations: 463.7 kB / 3.571 GB, free: 32.69 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006596/14.35, allocations: 1.668 MB / 3.573 GB, free: 30.96 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00185/14.36, allocations: 1.31 MB / 3.574 GB, free: 29.62 MB / 0.823 GB Notification: Performance of SimCode: time 2.434e-06/14.36, allocations: 0 / 3.574 GB, free: 29.62 MB / 0.823 GB