Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.Examples.Performance.Example3.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.Examples.Performance.Example3,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_Examples_Performance_Example3",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.873/3.873, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5092/4.383, allocations: 104.3 MB / 0.5319 GB, free: 12.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2175/4.6, allocations: 98.71 MB / 0.6283 GB, free: 9.766 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9254/5.526, allocations: 389.6 MB / 1.009 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003787/5.526, allocations: 94.73 kB / 1.009 GB, free: 14.27 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 3.029/8.555, allocations: 0.688 GB / 1.697 GB, free: 36.63 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/8.555, allocations: 8 kB / 1.697 GB, free: 36.62 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003204/8.558, allocations: 349.2 kB / 1.697 GB, free: 36.28 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01032/8.568, allocations: 2.58 MB / 1.7 GB, free: 33.64 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.046e-05/8.568, allocations: 28 kB / 1.7 GB, free: 33.62 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000318/8.569, allocations: 68 kB / 1.7 GB, free: 33.55 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002594/8.571, allocations: 0.859 MB / 1.701 GB, free: 32.69 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/8.574, allocations: 1.081 MB / 1.702 GB, free: 31.53 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.011e-05/8.574, allocations: 0 / 1.702 GB, free: 31.53 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000142/8.574, allocations: 8 kB / 1.702 GB, free: 31.52 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.416e-05/8.574, allocations: 24 kB / 1.702 GB, free: 31.5 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01236/8.587, allocations: 6.554 MB / 1.708 GB, free: 24.53 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/8.588, allocations: 0.577 MB / 1.709 GB, free: 23.95 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/8.589, allocations: 362.9 kB / 1.709 GB, free: 23.59 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004315/8.593, allocations: 1.653 MB / 1.711 GB, free: 21.79 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006941/8.594, allocations: 322.5 kB / 1.711 GB, free: 21.47 MB / 0.823 GB Notification: Performance of pre-optimization done (n=46): time 3.477e-06/8.594, allocations: 4 kB / 1.711 GB, free: 21.46 MB / 0.823 GB Notification: Performance of matching and sorting (n=46): time 0.003211/8.597, allocations: 0.8237 MB / 1.712 GB, free: 20.63 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.275e-05/8.597, allocations: 55.41 kB / 1.712 GB, free: 20.56 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002867/8.6, allocations: 1.383 MB / 1.713 GB, free: 19.18 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002044/8.6, allocations: 29.7 kB / 1.713 GB, free: 19.15 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000561/8.601, allocations: 0.5527 MB / 1.714 GB, free: 18.59 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/8.601, allocations: 149.8 kB / 1.714 GB, free: 18.44 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/8.601, allocations: 4 kB / 1.714 GB, free: 18.43 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.17e-05/8.601, allocations: 345.9 kB / 1.714 GB, free: 18.09 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006512/8.602, allocations: 257.7 kB / 1.714 GB, free: 17.84 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008835/8.603, allocations: 0.6852 MB / 1.715 GB, free: 16.94 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/8.605, allocations: 429.6 kB / 1.715 GB, free: 16.52 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-05/8.605, allocations: 11.84 kB / 1.715 GB, free: 16.51 MB / 0.823 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00386/8.609, allocations: 1.134 MB / 1.717 GB, free: 15.36 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008768/8.61, allocations: 4.083 MB / 1.721 GB, free: 10.95 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.465e-05/8.61, allocations: 8 kB / 1.721 GB, free: 10.94 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005414/8.61, allocations: 120.8 kB / 1.721 GB, free: 10.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001436/8.612, allocations: 179.7 kB / 1.721 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00105/8.613, allocations: 0.802 MB / 1.722 GB, free: 9.812 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/8.615, allocations: 131.1 kB / 1.722 GB, free: 9.684 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002131/8.615, allocations: 47.98 kB / 1.722 GB, free: 9.637 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.348e-05/8.615, allocations: 6.5 kB / 1.722 GB, free: 9.633 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003057/8.618, allocations: 0.939 MB / 1.723 GB, free: 8.676 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/8.619, allocations: 12 kB / 1.723 GB, free: 8.664 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003642/8.619, allocations: 114 kB / 1.723 GB, free: 8.551 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001226/8.62, allocations: 167.8 kB / 1.723 GB, free: 8.387 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002989/8.623, allocations: 1.993 MB / 1.725 GB, free: 6.281 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/8.625, allocations: 111.4 kB / 1.725 GB, free: 6.172 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001635/8.625, allocations: 47.98 kB / 1.725 GB, free: 6.125 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003204/8.626, allocations: 132.6 kB / 1.725 GB, free: 5.988 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003979/8.626, allocations: 169.8 kB / 1.725 GB, free: 5.82 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003503/8.63, allocations: 0.9961 MB / 1.726 GB, free: 4.812 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/8.63, allocations: 4 kB / 1.726 GB, free: 4.809 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/8.63, allocations: 0 / 1.726 GB, free: 4.809 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002077/8.632, allocations: 0.8845 MB / 1.727 GB, free: 3.855 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005921/8.638, allocations: 1.927 MB / 1.729 GB, free: 1.875 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/8.638, allocations: 4 kB / 1.729 GB, free: 1.871 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009255/8.639, allocations: 91.89 kB / 1.729 GB, free: 1.781 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/8.639, allocations: 96.8 kB / 1.729 GB, free: 1.684 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/8.639, allocations: 15.92 kB / 1.729 GB, free: 1.668 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007964/8.64, allocations: 0.7436 MB / 1.73 GB, free: 0.8984 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/8.64, allocations: 4 kB / 1.73 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.3351/8.975, allocations: 1.269 MB / 1.731 GB, free: 267.3 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004185/8.98, allocations: 2.048 MB / 1.733 GB, free: 266.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001081/8.981, allocations: 301.6 kB / 1.734 GB, free: 266.7 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003434/8.981, allocations: 3.375 kB / 1.734 GB, free: 266.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/8.983, allocations: 73.86 kB / 1.734 GB, free: 266.7 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/8.983, allocations: 35.09 kB / 1.734 GB, free: 266.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.885e-05/8.983, allocations: 25.95 kB / 1.734 GB, free: 266.7 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.002312/8.985, allocations: 1.062 MB / 1.735 GB, free: 266.6 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006977/8.992, allocations: 1.03 MB / 1.736 GB, free: 266.6 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002037/8.994, allocations: 0.7595 MB / 1.737 GB, free: 266.5 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0034/8.998, allocations: 1.307 MB / 1.738 GB, free: 266.3 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 6.542e-06/8.998, allocations: 0 / 1.738 GB, free: 266.3 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0007975/8.999, allocations: 302.6 kB / 1.738 GB, free: 266.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00527/9.004, allocations: 0.5856 MB / 1.739 GB, free: 266.3 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009221/9.013, allocations: 2.286 MB / 1.741 GB, free: 265.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003253/9.016, allocations: 1.666 MB / 1.743 GB, free: 265 MB / 0.823 GB Notification: Performance of SimCode: time 2.334e-06/9.016, allocations: 3.281 kB / 1.743 GB, free: 265 MB / 0.823 GB