Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.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.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",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.071/4.071, allocations: 433 MB / 440.3 MB, free: 4.812 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5249/4.596, allocations: 104.3 MB / 0.5319 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/4.822, allocations: 98.73 MB / 0.6283 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2568/5.079, allocations: 123.7 MB / 0.7491 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003999/5.079, allocations: 75.59 kB / 0.7492 GB, free: 13.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.009254/5.089, allocations: 1.135 MB / 0.7503 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/5.089, allocations: 12 kB / 0.7503 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/5.089, allocations: 3.906 kB / 0.7503 GB, free: 12.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/5.089, allocations: 174.9 kB / 0.7504 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/5.089, allocations: 8 kB / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/5.089, allocations: 0 / 0.7504 GB, free: 12.44 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001633/5.089, allocations: 35.92 kB / 0.7505 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001413/5.089, allocations: 57.67 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/5.089, allocations: 0 / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/5.089, allocations: 0 / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/5.089, allocations: 3.906 kB / 0.7505 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008242/5.09, allocations: 309.4 kB / 0.7508 GB, free: 12 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/5.09, allocations: 46.47 kB / 0.7509 GB, free: 11.95 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.146e-05/5.091, allocations: 28.88 kB / 0.7509 GB, free: 11.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002771/5.091, allocations: 105.1 kB / 0.751 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.367e-05/5.091, allocations: 38.56 kB / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.044e-06/5.091, allocations: 0 / 0.751 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003755/5.091, allocations: 77.56 kB / 0.7511 GB, free: 11.66 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.094e-05/5.091, allocations: 51.41 kB / 0.7512 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/5.092, allocations: 113 kB / 0.7513 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/5.092, allocations: 25.7 kB / 0.7513 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.072e-05/5.092, allocations: 84.14 kB / 0.7514 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/5.092, allocations: 11.89 kB / 0.7514 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/5.092, allocations: 4 kB / 0.7514 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001431/5.092, allocations: 318.8 kB / 0.7517 GB, free: 11.03 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.384e-05/5.092, allocations: 19.98 kB / 0.7517 GB, free: 11.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/5.092, allocations: 12 kB / 0.7517 GB, free: 11 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/5.092, allocations: 27.91 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.753e-06/5.092, allocations: 0 / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002612/5.092, allocations: 81.59 kB / 0.7518 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/5.092, allocations: 4 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/5.092, allocations: 3.906 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/5.092, allocations: 4 kB / 0.7518 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/5.093, allocations: 23.98 kB / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/5.093, allocations: 0 / 0.7519 GB, free: 10.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002096/5.093, allocations: 19.98 kB / 0.7519 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.014e-05/5.093, allocations: 7.984 kB / 0.7519 GB, free: 10.82 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 (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.702e-05/5.093, allocations: 101 kB / 0.752 GB, free: 10.72 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.528e-05/5.093, allocations: 7.906 kB / 0.752 GB, free: 10.71 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003611/5.094, allocations: 89.59 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/5.094, allocations: 3.984 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/5.094, allocations: 4 kB / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/5.094, allocations: 0 / 0.7521 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002399/5.094, allocations: 162.1 kB / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/5.094, allocations: 0 / 0.7522 GB, free: 10.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002196/5.094, allocations: 27.92 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/5.094, allocations: 4 kB / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/5.094, allocations: 0 / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/5.094, allocations: 0 / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/5.094, allocations: 0 / 0.7523 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003193/5.095, allocations: 171.4 kB / 0.7524 GB, free: 10.19 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005048/5.095, allocations: 0.5505 MB / 0.753 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.884e-05/5.095, allocations: 81.11 kB / 0.7531 GB, free: 9.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.878e-05/5.095, allocations: 7.891 kB / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/5.095, allocations: 15.98 kB / 0.7531 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/5.096, allocations: 336 / 0.7531 GB, free: 9.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/5.096, allocations: 12 kB / 0.7531 GB, free: 9.488 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.253e-05/5.096, allocations: 107.8 kB / 0.7532 GB, free: 9.383 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001121/5.097, allocations: 11.94 kB / 0.7532 GB, free: 9.371 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 (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 Backend phase and start with SimCode phase: time 0.0001947/5.097, allocations: 103.2 kB / 0.7533 GB, free: 9.262 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001675/5.097, allocations: 35.98 kB / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/5.097, allocations: 0 / 0.7533 GB, free: 9.227 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.541e-05/5.097, allocations: 19.94 kB / 0.7534 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/5.098, allocations: 11.98 kB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003894/5.098, allocations: 99.66 kB / 0.7535 GB, free: 9.07 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004047/5.098, allocations: 0.7032 MB / 0.7542 GB, free: 8.344 MB / 0.6355 GB Notification: Performance of SimCode: time 6.71e-07/5.098, allocations: 0 / 0.7542 GB, free: 8.344 MB / 0.6355 GB