Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.SolarCollectors.Validation.ExtremeAmbientConditions.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.SolarCollectors.Validation.ExtremeAmbientConditions,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_SolarCollectors_Validation_ExtremeAmbientConditions",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.874/3.874, allocations: 433 MB / 440.3 MB, free: 4.824 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5433/4.417, allocations: 104.3 MB / 0.5319 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/4.647, allocations: 98.73 MB / 0.6283 GB, free: 9.785 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/5.67, allocations: 401.9 MB / 1.021 GB, free: 2.758 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/5.671, allocations: 93.11 kB / 1.021 GB, free: 2.711 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: 733 * Number of variables: 733 Notification: Performance of Generate backend data structure: time 3.966/9.637, allocations: 0.7536 GB / 1.774 GB, free: 140.3 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/9.637, allocations: 14.25 kB / 1.774 GB, free: 140.3 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02006/9.657, allocations: 1.717 MB / 1.776 GB, free: 140.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01732/9.674, allocations: 4.091 MB / 1.78 GB, free: 139.5 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/9.675, allocations: 89.16 kB / 1.78 GB, free: 139.5 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001608/9.676, allocations: 168.5 kB / 1.78 GB, free: 139.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01334/9.69, allocations: 3.396 MB / 1.784 GB, free: 139.4 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/9.705, allocations: 3.515 MB / 1.787 GB, free: 139.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000195/9.705, allocations: 10 kB / 1.787 GB, free: 139.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001229/9.706, allocations: 6.172 kB / 1.787 GB, free: 139.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001581/9.706, allocations: 140.4 kB / 1.787 GB, free: 139.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05005/9.756, allocations: 16.25 MB / 1.803 GB, free: 132.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007019/9.764, allocations: 1.887 MB / 1.805 GB, free: 132.8 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005124/9.769, allocations: 1.218 MB / 1.806 GB, free: 132.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00346/9.772, allocations: 1.641 MB / 1.808 GB, free: 131 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.777e-05/9.772, allocations: 55.28 kB / 1.808 GB, free: 130.9 MB / 0.823 GB Notification: Performance of pre-optimization done (n=161): time 7.003e-06/9.772, allocations: 0 / 1.808 GB, free: 130.9 MB / 0.823 GB Notification: Performance of matching and sorting (n=161): time 0.03235/9.805, allocations: 3.016 MB / 1.811 GB, free: 130.7 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/9.805, allocations: 118.5 kB / 1.811 GB, free: 130.6 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009781/9.815, allocations: 2.422 MB / 1.813 GB, free: 130.4 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0009306/9.816, allocations: 25.7 kB / 1.813 GB, free: 130.3 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001915/9.818, allocations: 1.178 MB / 1.814 GB, free: 129.7 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.00199/9.82, allocations: 0.5279 MB / 1.815 GB, free: 129.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005225/9.82, allocations: 2.344 kB / 1.815 GB, free: 129.3 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003057/9.821, allocations: 399.6 kB / 1.815 GB, free: 129 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004924/9.826, allocations: 1.052 MB / 1.816 GB, free: 129 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006086/9.832, allocations: 1.519 MB / 1.818 GB, free: 128.5 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04282/9.875, allocations: 2.679 MB / 1.82 GB, free: 128.5 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.981e-05/9.875, allocations: 3.188 kB / 1.82 GB, free: 128.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.0522/9.927, allocations: 4.3 MB / 1.825 GB, free: 128.3 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001464/9.928, allocations: 4.759 MB / 1.829 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-05/9.929, allocations: 11.03 kB / 1.829 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001014/9.929, allocations: 27.7 kB / 1.829 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01171/9.94, allocations: 0.6868 MB / 1.83 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.334e-05/9.941, allocations: 23.66 kB / 1.83 GB, free: 123.3 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01192/9.953, allocations: 414.7 kB / 1.83 GB, free: 123.1 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001344/9.954, allocations: 116.6 kB / 1.831 GB, free: 123.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/9.954, allocations: 7.594 kB / 1.831 GB, free: 123.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04535/9.999, allocations: 3.995 MB / 1.834 GB, free: 123.1 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.698e-05/9.999, allocations: 16.08 kB / 1.834 GB, free: 123.1 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.033e-05/10, allocations: 22.47 kB / 1.835 GB, free: 123.1 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008517/10.01, allocations: 0.6864 MB / 1.835 GB, free: 123.1 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.351e-05/10.01, allocations: 29.48 kB / 1.835 GB, free: 123.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008158/10.02, allocations: 351.2 kB / 1.836 GB, free: 123 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001068/10.02, allocations: 121.6 kB / 1.836 GB, free: 123 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (274): * Single equations (assignments): 274 * 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 prepare postOptimizeDAE: time 0.001096/10.02, allocations: 155.8 kB / 1.836 GB, free: 122.9 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001233/10.02, allocations: 268.5 kB / 1.836 GB, free: 122.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03267/10.05, allocations: 3.678 MB / 1.84 GB, free: 122.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/10.05, allocations: 16.72 kB / 1.84 GB, free: 122.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.41e-05/10.05, allocations: 3 kB / 1.84 GB, free: 122.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02258/10.08, allocations: 2.84 MB / 1.842 GB, free: 122.2 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04114/10.12, allocations: 7.648 MB / 1.85 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/10.12, allocations: 2.5 kB / 1.85 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00712/10.12, allocations: 475.7 kB / 1.85 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-05/10.12, allocations: 9.781 kB / 1.85 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005845/10.12, allocations: 40.7 kB / 1.85 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-05/10.12, allocations: 9.969 kB / 1.85 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/10.12, allocations: 9.875 kB / 1.85 GB, free: 120.5 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02478/10.15, allocations: 4.76 MB / 1.855 GB, free: 119.5 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0308/10.18, allocations: 6.536 MB / 1.861 GB, free: 118.2 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003459/10.18, allocations: 0.7905 MB / 1.862 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001729/10.19, allocations: 14.86 kB / 1.862 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007125/10.19, allocations: 227.9 kB / 1.862 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006217/10.19, allocations: 95.06 kB / 1.863 GB, free: 117.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003981/10.19, allocations: 65.8 kB / 1.863 GB, free: 117.9 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.005747/10.2, allocations: 1.969 MB / 1.865 GB, free: 117.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0132/10.21, allocations: 1.959 MB / 1.866 GB, free: 117.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 6 (solAsh.vol[1].dynBal.U,solAsh.vol[2].dynBal.U,solAsh.vol[3].dynBal.U,solEn.vol[1].dynBal.U,solEn.vol[2].dynBal.U,solEn.vol[3].dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (158): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.002566/10.22, allocations: 0.7616 MB / 1.867 GB, free: 117.3 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01254/10.23, allocations: 3.952 MB / 1.871 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/10.23, allocations: 0 / 1.871 GB, free: 116.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.003391/10.23, allocations: 1.045 MB / 1.872 GB, free: 115.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01134/10.24, allocations: 1.151 MB / 1.873 GB, free: 115.5 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02276/10.27, allocations: 5.587 MB / 1.879 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008464/10.27, allocations: 2.836 MB / 1.881 GB, free: 112.4 MB / 0.823 GB Notification: Performance of SimCode: time 2.184e-06/10.27, allocations: 0 / 1.881 GB, free: 112.4 MB / 0.823 GB