Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Media.Examples.WaterDerivativeCheck.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.WaterDerivativeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Media_Examples_WaterDerivativeCheck",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.992/3.992, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5355/4.528, allocations: 104.3 MB / 0.5319 GB, free: 13.03 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2401/4.768, allocations: 98.73 MB / 0.6283 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.96/5.728, allocations: 350.8 MB / 0.9708 GB, free: 4.57 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003207/5.728, allocations: 71.59 kB / 0.9709 GB, free: 4.531 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.05035/5.779, allocations: 12.56 MB / 0.9832 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/5.779, allocations: 12 kB / 0.9832 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/5.779, allocations: 4 kB / 0.9832 GB, free: 10.74 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001945/5.779, allocations: 174.8 kB / 0.9833 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/5.779, allocations: 0 / 0.9833 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.388e-05/5.779, allocations: 7.312 kB / 0.9834 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001335/5.779, allocations: 11.98 kB / 0.9834 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001687/5.78, allocations: 49.38 kB / 0.9834 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.947e-05/5.78, allocations: 0 / 0.9834 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.014e-05/5.78, allocations: 0 / 0.9834 GB, free: 10.46 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.976e-05/5.78, allocations: 7.984 kB / 0.9834 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/5.78, allocations: 141.8 kB / 0.9836 GB, free: 10.28 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001352/5.78, allocations: 41.02 kB / 0.9836 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.056e-05/5.78, allocations: 20.61 kB / 0.9836 GB, free: 10.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00131/5.782, allocations: 0.5979 MB / 0.9842 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/5.782, allocations: 34.56 kB / 0.9842 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 3.827e-06/5.782, allocations: 0 / 0.9842 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0009909/5.783, allocations: 282 kB / 0.9845 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/5.783, allocations: 51.41 kB / 0.9845 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/5.783, allocations: 96.88 kB / 0.9846 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/5.783, allocations: 25.7 kB / 0.9847 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 7.64e-05/5.783, allocations: 88.05 kB / 0.9847 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/5.783, allocations: 23.45 kB / 0.9848 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.083e-06/5.783, allocations: 0 / 0.9848 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001731/5.783, allocations: 318.6 kB / 0.9851 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.638e-05/5.783, allocations: 11.75 kB / 0.9851 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/5.783, allocations: 48.77 kB / 0.9851 GB, free: 8.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.917e-05/5.784, allocations: 15.75 kB / 0.9851 GB, free: 8.469 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/5.784, allocations: 7.938 kB / 0.9852 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002846/5.784, allocations: 80.89 kB / 0.9852 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/5.784, allocations: 4 kB / 0.9852 GB, free: 8.379 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/5.784, allocations: 8.062 kB / 0.9852 GB, free: 8.371 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/5.784, allocations: 4 kB / 0.9852 GB, free: 8.367 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/5.784, allocations: 24.17 kB / 0.9853 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/5.784, allocations: 8.062 kB / 0.9853 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/5.784, allocations: 4 kB / 0.9853 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/5.784, allocations: 11.72 kB / 0.9853 GB, free: 8.324 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001262/5.785, allocations: 102.2 kB / 0.9854 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/5.785, allocations: 4 kB / 0.9854 GB, free: 8.215 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/5.785, allocations: 15.67 kB / 0.9854 GB, free: 8.207 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/5.785, allocations: 3.906 kB / 0.9854 GB, free: 8.203 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.988e-06/5.785, allocations: 7.938 kB / 0.9854 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/5.785, allocations: 0 / 0.9854 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/5.785, allocations: 141.7 kB / 0.9856 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/5.785, allocations: 3.984 kB / 0.9856 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002389/5.786, allocations: 16 kB / 0.9856 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.64e-06/5.786, allocations: 0 / 0.9856 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/5.786, allocations: 0 / 0.9856 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/5.786, allocations: 0 / 0.9856 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/5.786, allocations: 0 / 0.9856 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003325/5.786, allocations: 173.9 kB / 0.9857 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005248/5.787, allocations: 0.5455 MB / 0.9863 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.827e-05/5.787, allocations: 85.09 kB / 0.9864 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/5.787, allocations: 0 / 0.9864 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002708/5.787, allocations: 0 / 0.9864 GB, free: 7.176 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.105e-05/5.787, allocations: 16.06 kB / 0.9864 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/5.787, allocations: 7.406 kB / 0.9864 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.195e-05/5.787, allocations: 79.28 kB / 0.9865 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001996/5.789, allocations: 12 kB / 0.9865 GB, free: 7.066 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0003309/5.79, allocations: 123.2 kB / 0.9866 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002057/5.79, allocations: 31.69 kB / 0.9866 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/5.79, allocations: 0 / 0.9866 GB, free: 6.914 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.668e-05/5.79, allocations: 19.75 kB / 0.9866 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003312/5.79, allocations: 7.938 kB / 0.9866 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/5.791, allocations: 262.5 kB / 0.9869 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004845/5.792, allocations: 0.7036 MB / 0.9876 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of SimCode: time 1.283e-06/5.792, allocations: 0 / 0.9876 GB, free: 5.883 MB / 0.7292 GB