Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Sensors.Examples.TraceSubstances.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.Sensors.Examples.TraceSubstances,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Sensors_Examples_TraceSubstances",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.254/4.254, allocations: 433 MB / 440.3 MB, free: 4.719 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5546/4.809, allocations: 104.3 MB / 0.5319 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/5.051, allocations: 98.73 MB / 0.6283 GB, free: 9.711 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.634/10.68, allocations: 2.239 GB / 2.868 GB, free: 108.9 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004269/10.69, allocations: 92.39 kB / 2.868 GB, free: 108.8 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 3.275/13.96, allocations: 0.6386 GB / 3.506 GB, free: 104 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.867e-05/13.96, allocations: 8 kB / 3.506 GB, free: 104 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002529/13.96, allocations: 266.3 kB / 3.507 GB, free: 103.7 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/13.97, allocations: 0.791 MB / 3.507 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.679e-05/13.97, allocations: 28 kB / 3.508 GB, free: 102.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002446/13.97, allocations: 56 kB / 3.508 GB, free: 102.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002419/13.97, allocations: 0.7966 MB / 3.508 GB, free: 102 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002395/13.97, allocations: 1.005 MB / 3.509 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.634e-05/13.97, allocations: 7.844 kB / 3.509 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/13.97, allocations: 4 kB / 3.509 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-05/13.97, allocations: 30 kB / 3.509 GB, free: 100.9 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008638/13.98, allocations: 5.6 MB / 3.515 GB, free: 94.93 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001407/13.98, allocations: 0.5767 MB / 3.515 GB, free: 94.34 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/13.98, allocations: 319.3 kB / 3.516 GB, free: 94.02 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/13.98, allocations: 314.9 kB / 3.516 GB, free: 93.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.118e-05/13.98, allocations: 46.94 kB / 3.516 GB, free: 93.61 MB / 0.823 GB Notification: Performance of pre-optimization done (n=52): time 3.797e-06/13.98, allocations: 0 / 3.516 GB, free: 93.61 MB / 0.823 GB Notification: Performance of matching and sorting (n=52): time 0.002459/13.98, allocations: 0.6231 MB / 3.517 GB, free: 92.97 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/13.99, allocations: 81.55 kB / 3.517 GB, free: 92.88 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000985/13.99, allocations: 0.5113 MB / 3.517 GB, free: 92.36 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001399/13.99, allocations: 29.7 kB / 3.517 GB, free: 92.33 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002369/13.99, allocations: 410.6 kB / 3.518 GB, free: 91.92 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002272/13.99, allocations: 185.3 kB / 3.518 GB, free: 91.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/13.99, allocations: 0 / 3.518 GB, free: 91.73 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001403/13.99, allocations: 382.7 kB / 3.518 GB, free: 91.35 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006093/13.99, allocations: 249.5 kB / 3.518 GB, free: 91.11 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007584/13.99, allocations: 0.5276 MB / 3.519 GB, free: 90.45 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/13.99, allocations: 377.1 kB / 3.519 GB, free: 90.07 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/13.99, allocations: 8 kB / 3.519 GB, free: 90.07 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002176/13.99, allocations: 0.8065 MB / 3.52 GB, free: 89.25 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/13.99, allocations: 4 kB / 3.52 GB, free: 89.25 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.723e-05/13.99, allocations: 11.91 kB / 3.52 GB, free: 89.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.247e-05/13.99, allocations: 12 kB / 3.52 GB, free: 89.23 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/13.99, allocations: 156.4 kB / 3.52 GB, free: 89.07 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.881e-05/13.99, allocations: 15.94 kB / 3.52 GB, free: 89.06 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001769/13.99, allocations: 119.1 kB / 3.52 GB, free: 88.94 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/13.99, allocations: 36 kB / 3.52 GB, free: 88.91 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 1 * 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 prepare postOptimizeDAE: time 0.000236/14, allocations: 126.1 kB / 3.521 GB, free: 88.78 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002303/14, allocations: 79.06 kB / 3.521 GB, free: 88.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001766/14, allocations: 0.608 MB / 3.521 GB, free: 88.07 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/14, allocations: 8 kB / 3.521 GB, free: 88.07 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.567e-06/14, allocations: 7.922 kB / 3.521 GB, free: 88.06 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001265/14, allocations: 0.5241 MB / 3.522 GB, free: 87.53 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004298/14, allocations: 1.577 MB / 3.523 GB, free: 85.89 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/14, allocations: 0 / 3.523 GB, free: 85.89 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00111/14, allocations: 119.8 kB / 3.523 GB, free: 85.77 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/14, allocations: 4 kB / 3.523 GB, free: 85.77 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-05/14, allocations: 8 kB / 3.523 GB, free: 85.76 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/14, allocations: 4 kB / 3.523 GB, free: 85.76 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.169e-06/14, allocations: 0 / 3.523 GB, free: 85.76 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002283/14.01, allocations: 1.24 MB / 3.525 GB, free: 84.43 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003835/14.01, allocations: 2.059 MB / 3.527 GB, free: 82.28 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000798/14.01, allocations: 220 kB / 3.527 GB, free: 82.05 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001861/14.01, allocations: 4 kB / 3.527 GB, free: 82.04 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/14.01, allocations: 63.88 kB / 3.527 GB, free: 81.98 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.638e-05/14.01, allocations: 31.86 kB / 3.527 GB, free: 81.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.393e-05/14.01, allocations: 20 kB / 3.527 GB, free: 81.93 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0007797/14.01, allocations: 399.1 kB / 3.527 GB, free: 81.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.003692/14.02, allocations: 0.663 MB / 3.528 GB, free: 80.89 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.003827/14.02, allocations: 2.14 MB / 3.53 GB, free: 78.89 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001657/14.02, allocations: 0.6152 MB / 3.531 GB, free: 78.27 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.532e-06/14.02, allocations: 2 kB / 3.531 GB, free: 78.27 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006007/14.02, allocations: 267.7 kB / 3.531 GB, free: 78.01 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00343/14.03, allocations: 347.8 kB / 3.531 GB, free: 77.67 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004418/14.03, allocations: 1.521 MB / 3.533 GB, free: 76.09 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001265/14.03, allocations: 1.232 MB / 3.534 GB, free: 74.84 MB / 0.823 GB Notification: Performance of SimCode: time 2.435e-06/14.03, allocations: 0 / 3.534 GB, free: 74.84 MB / 0.823 GB