Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_6_0_0_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.047/4.047, allocations: 433 MB / 440.3 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5064/4.553, allocations: 104.3 MB / 0.5319 GB, free: 12.97 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2253/4.778, allocations: 98.71 MB / 0.6283 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.227/5.005, allocations: 124.4 MB / 0.7498 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/5.006, allocations: 99.55 kB / 0.7499 GB, free: 13.2 MB / 0.6355 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.003455/5.009, allocations: 0.8069 MB / 0.7506 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/5.009, allocations: 8 kB / 0.7506 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/5.009, allocations: 4 kB / 0.7507 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/5.01, allocations: 171 kB / 0.7508 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/5.01, allocations: 0 / 0.7508 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.004e-05/5.01, allocations: 3.938 kB / 0.7508 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.514e-05/5.01, allocations: 8 kB / 0.7508 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.924e-05/5.01, allocations: 41.62 kB / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/5.01, allocations: 0 / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/5.01, allocations: 0 / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/5.01, allocations: 0 / 0.7509 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/5.01, allocations: 237.4 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.432e-05/5.01, allocations: 22.58 kB / 0.7511 GB, free: 11.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.034e-05/5.011, allocations: 12.95 kB / 0.7511 GB, free: 11.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.702e-05/5.011, allocations: 4 kB / 0.7511 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.723e-05/5.011, allocations: 42.5 kB / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/5.011, allocations: 0 / 0.7512 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001755/5.011, allocations: 37.61 kB / 0.7512 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/5.011, allocations: 51.41 kB / 0.7513 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.737e-05/5.011, allocations: 96.98 kB / 0.7513 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.949e-05/5.011, allocations: 29.7 kB / 0.7514 GB, free: 11.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/5.011, allocations: 88.17 kB / 0.7515 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/5.011, allocations: 7.844 kB / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/5.011, allocations: 0 / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001252/5.011, allocations: 310.8 kB / 0.7518 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.643e-05/5.011, allocations: 8 kB / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.032e-05/5.011, allocations: 4 kB / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/5.011, allocations: 3.984 kB / 0.7518 GB, free: 11.04 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/5.011, allocations: 3.938 kB / 0.7518 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000147/5.012, allocations: 49.55 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.413e-05/5.012, allocations: 10.91 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/5.012, allocations: 0 / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/5.012, allocations: 0 / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/5.012, allocations: 11.98 kB / 0.7519 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.201e-06/5.012, allocations: 0 / 0.7519 GB, free: 10.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.19e-05/5.012, allocations: 4 kB / 0.7519 GB, free: 10.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.134e-05/5.012, allocations: 0 / 0.7519 GB, free: 10.95 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.0001228/5.012, allocations: 105 kB / 0.752 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.829e-05/5.012, allocations: 4.156 kB / 0.752 GB, free: 10.84 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/5.012, allocations: 15.61 kB / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/5.012, allocations: 0 / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.565e-05/5.012, allocations: 7.984 kB / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/5.012, allocations: 0 / 0.752 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003233/5.013, allocations: 138.1 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/5.013, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.788e-05/5.013, allocations: 8 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.666e-06/5.013, allocations: 0 / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/5.013, allocations: 11.92 kB / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/5.013, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/5.013, allocations: 0 / 0.7521 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001629/5.013, allocations: 139.4 kB / 0.7523 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002757/5.013, allocations: 0.5116 MB / 0.7528 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.295e-05/5.013, allocations: 77.11 kB / 0.7528 GB, free: 9.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.253e-05/5.013, allocations: 3.984 kB / 0.7528 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/5.013, allocations: 4 kB / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/5.014, allocations: 0 / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/5.014, allocations: 0 / 0.7528 GB, free: 9.84 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.484e-05/5.014, allocations: 83.19 kB / 0.7529 GB, free: 9.758 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001301/5.015, allocations: 4 kB / 0.7529 GB, free: 9.754 MB / 0.6355 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 (2): * Single equations (assignments): 2 * 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.0001492/5.015, allocations: 107.3 kB / 0.753 GB, free: 9.641 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001081/5.015, allocations: 15.94 kB / 0.753 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/5.015, allocations: 0 / 0.753 GB, free: 9.625 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.195e-05/5.015, allocations: 8 kB / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002711/5.016, allocations: 3.984 kB / 0.7531 GB, free: 9.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003066/5.016, allocations: 69.95 kB / 0.7531 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/5.016, allocations: 0.6959 MB / 0.7538 GB, free: 8.801 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/5.016, allocations: 0 / 0.7538 GB, free: 8.801 MB / 0.6355 GB