Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.309/4.309, allocations: 433 MB / 440.3 MB, free: 4.828 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5542/4.864, allocations: 104.3 MB / 0.5319 GB, free: 12.98 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/5.13, allocations: 98.72 MB / 0.6283 GB, free: 9.848 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.014/6.145, allocations: 361.3 MB / 0.9811 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/6.145, allocations: 70.78 kB / 0.9812 GB, free: 7.098 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.04645/6.191, allocations: 11.52 MB / 0.9924 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/6.191, allocations: 8 kB / 0.9924 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.629e-05/6.192, allocations: 8 kB / 0.9924 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/6.192, allocations: 163 kB / 0.9926 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/6.192, allocations: 25.7 kB / 0.9926 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/6.192, allocations: 4 kB / 0.9926 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.643e-05/6.192, allocations: 11.98 kB / 0.9926 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.848e-05/6.192, allocations: 45.41 kB / 0.9927 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/6.192, allocations: 0 / 0.9927 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/6.192, allocations: 0 / 0.9927 GB, free: 13.91 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/6.192, allocations: 4 kB / 0.9927 GB, free: 13.9 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005024/6.193, allocations: 314.1 kB / 0.993 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.319e-05/6.193, allocations: 22.52 kB / 0.993 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.054e-05/6.193, allocations: 4.859 kB / 0.993 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001132/6.193, allocations: 85.2 kB / 0.9931 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/6.193, allocations: 34.56 kB / 0.9931 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 2.074e-06/6.193, allocations: 7.938 kB / 0.9931 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001937/6.193, allocations: 29.7 kB / 0.9932 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/6.193, allocations: 51.41 kB / 0.9932 GB, free: 13.26 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/6.193, allocations: 96.86 kB / 0.9933 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/6.193, allocations: 25.7 kB / 0.9933 GB, free: 13.13 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001294/6.193, allocations: 88.05 kB / 0.9934 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.644e-06/6.193, allocations: 7.844 kB / 0.9934 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-06/6.193, allocations: 0 / 0.9934 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001598/6.194, allocations: 318.7 kB / 0.9937 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.282e-05/6.194, allocations: 11.92 kB / 0.9937 GB, free: 12.7 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.329e-05/6.194, allocations: 13.72 kB / 0.9937 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.889e-05/6.194, allocations: 4 kB / 0.9937 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/6.194, allocations: 0 / 0.9937 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001609/6.194, allocations: 49.56 kB / 0.9938 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/6.194, allocations: 7.125 kB / 0.9938 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.326e-06/6.194, allocations: 8.047 kB / 0.9938 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/6.194, allocations: 0 / 0.9938 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.42e-05/6.194, allocations: 7.938 kB / 0.9938 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/6.194, allocations: 7.906 kB / 0.9938 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.214e-05/6.194, allocations: 0 / 0.9938 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.402e-05/6.194, allocations: 0 / 0.9938 GB, free: 12.6 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 9.117e-05/6.194, allocations: 106.6 kB / 0.9939 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.923e-05/6.194, allocations: 3.906 kB / 0.9939 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002167/6.195, allocations: 129 kB / 0.994 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/6.195, allocations: 180.2 kB / 0.9942 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.591e-05/6.195, allocations: 176.3 kB / 0.9944 GB, free: 12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.737e-05/6.195, allocations: 184.2 kB / 0.9946 GB, free: 11.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002678/6.195, allocations: 385.6 kB / 0.9949 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.342e-05/6.195, allocations: 105 kB / 0.995 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.933e-05/6.195, allocations: 105 kB / 0.9951 GB, free: 11.17 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.703e-05/6.195, allocations: 188.2 kB / 0.9953 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.023e-05/6.195, allocations: 180.2 kB / 0.9955 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.166e-05/6.196, allocations: 176.3 kB / 0.9956 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.802e-05/6.196, allocations: 180.2 kB / 0.9958 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001661/6.196, allocations: 311.6 kB / 0.9961 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003113/6.196, allocations: 0.668 MB / 0.9968 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/6.196, allocations: 186.1 kB / 0.9969 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/6.196, allocations: 180.2 kB / 0.9971 GB, free: 9.027 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/6.197, allocations: 105 kB / 0.9972 GB, free: 8.918 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.244e-05/6.197, allocations: 187.9 kB / 0.9974 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.818e-05/6.197, allocations: 104.9 kB / 0.9975 GB, free: 8.621 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.122e-05/6.197, allocations: 79.28 kB / 0.9976 GB, free: 8.543 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001157/6.198, allocations: 35.75 kB / 0.9976 GB, free: 8.512 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0003168/6.198, allocations: 212.2 kB / 0.9978 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.519e-05/6.198, allocations: 8 kB / 0.9978 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/6.198, allocations: 0 / 0.9978 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.304e-06/6.198, allocations: 0 / 0.9978 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/6.199, allocations: 0.526 MB / 0.9983 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000233/6.199, allocations: 127.2 kB / 0.9985 GB, free: 7.609 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003342/6.2, allocations: 0.692 MB / 0.9991 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of SimCode: time 8.92e-07/6.2, allocations: 0 / 0.9991 GB, free: 6.891 MB / 0.7448 GB