Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_7_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo): time 0.01056/0.01056, allocations: 88.03 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001174/0.001174, allocations: 172.9 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.022/2.022, allocations: 205.5 MB / 222.2 MB, free: 13.73 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.591/2.591, allocations: 252.8 MB / 0.511 GB, free: 8.352 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007318/0.0007315, allocations: 13 kB / 0.6243 GB, free: 21.05 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2739/0.2747, allocations: 106.2 MB / 0.7281 GB, free: 8.141 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.003083/0.2779, allocations: 1.206 MB / 0.7292 GB, free: 6.918 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.0004608/0.2784, allocations: 104.6 kB / 0.7293 GB, free: 6.812 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.2785, allocations: 0 / 0.7293 GB, free: 6.812 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 5.007e-05/0.2785, allocations: 3.938 kB / 0.7293 GB, free: 6.809 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 8.604e-05/0.2786, allocations: 11.97 kB / 0.7294 GB, free: 6.797 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002661/0.2789, allocations: 15.98 kB / 0.7294 GB, free: 6.781 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2791, allocations: 27.95 kB / 0.7294 GB, free: 6.754 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.2792, allocations: 4 kB / 0.7294 GB, free: 6.75 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 7.341e-05/0.2793, allocations: 19.92 kB / 0.7294 GB, free: 6.73 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 8.109e-05/0.2794, allocations: 23.91 kB / 0.7294 GB, free: 6.707 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.2794, allocations: 4 kB / 0.7294 GB, free: 6.703 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.2796, allocations: 19.92 kB / 0.7295 GB, free: 6.684 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.2796, allocations: 11.92 kB / 0.7295 GB, free: 6.672 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 4.245e-05/0.2797, allocations: 29.7 kB / 0.7295 GB, free: 6.637 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.2799, allocations: 43.92 kB / 0.7295 GB, free: 6.594 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.2799, allocations: 0 / 0.7295 GB, free: 6.594 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.405e-06/0.2799, allocations: 0 / 0.7295 GB, free: 6.594 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.2799, allocations: 0 / 0.7295 GB, free: 6.594 MB / 0.5574 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.0009319/0.2809, allocations: 379.5 kB / 0.7299 GB, free: 6.176 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/0.281, allocations: 12.03 kB / 0.7299 GB, free: 6.164 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.835e-05/0.281, allocations: 34.5 kB / 0.73 GB, free: 6.121 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.112e-05/0.2811, allocations: 11.89 kB / 0.73 GB, free: 6.109 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.2813, allocations: 174.9 kB / 0.7301 GB, free: 5.898 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.2814, allocations: 4 kB / 0.7301 GB, free: 5.895 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.2814, allocations: 4 kB / 0.7301 GB, free: 5.891 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006052/0.282, allocations: 85.64 kB / 0.7302 GB, free: 5.801 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.2821, allocations: 0 / 0.7302 GB, free: 5.801 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.2821, allocations: 0 / 0.7302 GB, free: 5.801 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2821, allocations: 0 / 0.7302 GB, free: 5.801 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009/0.283, allocations: 95.92 kB / 0.7303 GB, free: 5.707 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000659/0.2837, allocations: 288.9 kB / 0.7306 GB, free: 5.375 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000528/0.2843, allocations: 74.53 kB / 0.7307 GB, free: 5.293 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004186/0.2847, allocations: 109.2 kB / 0.7308 GB, free: 5.168 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.14e-05/0.2848, allocations: 34.56 kB / 0.7308 GB, free: 5.125 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=3): time 3.537e-06/0.2848, allocations: 0 / 0.7308 GB, free: 5.125 MB / 0.5574 GB Notification: Performance of matching and sorting (n=3): time 0.001486/0.2863, allocations: 193.6 kB / 0.731 GB, free: 4.93 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.815e-05/0.2864, allocations: 55.36 kB / 0.731 GB, free: 4.863 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.2866, allocations: 121.8 kB / 0.7311 GB, free: 4.734 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.2866, allocations: 25.7 kB / 0.7312 GB, free: 4.703 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.2868, allocations: 100.1 kB / 0.7313 GB, free: 4.602 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.2868, allocations: 3.906 kB / 0.7313 GB, free: 4.598 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.2869, allocations: 0 / 0.7313 GB, free: 4.598 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.000179/0.2871, allocations: 322.8 kB / 0.7316 GB, free: 4.273 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/0.2875, allocations: 43.97 kB / 0.7316 GB, free: 4.23 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004309/0.288, allocations: 51.95 kB / 0.7317 GB, free: 4.18 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.2885, allocations: 47.91 kB / 0.7317 GB, free: 4.133 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2885, allocations: 0 / 0.7317 GB, free: 4.133 MB / 0.5574 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0009992/0.2895, allocations: 137.5 kB / 0.7318 GB, free: 3.992 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.2895, allocations: 4 kB / 0.7319 GB, free: 3.988 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2896, allocations: 0 / 0.7319 GB, free: 3.988 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.2896, allocations: 7.938 kB / 0.7319 GB, free: 3.98 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.2899, allocations: 23.97 kB / 0.7319 GB, free: 3.957 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.737e-06/0.29, allocations: 0 / 0.7319 GB, free: 3.957 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.2902, allocations: 19.94 kB / 0.7319 GB, free: 3.938 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/0.2903, allocations: 4 kB / 0.7319 GB, free: 3.934 MB / 0.5574 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 () * Number of clocked 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 0.0001629/0.2904, allocations: 117.8 kB / 0.732 GB, free: 3.809 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.2905, allocations: 3.906 kB / 0.732 GB, free: 3.805 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.2916, allocations: 141.5 kB / 0.7322 GB, free: 3.656 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/0.2916, allocations: 0 / 0.7322 GB, free: 3.656 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/0.2917, allocations: 4 kB / 0.7322 GB, free: 3.652 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.2917, allocations: 0 / 0.7322 GB, free: 3.652 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.2921, allocations: 185.6 kB / 0.7323 GB, free: 3.422 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.2922, allocations: 3.938 kB / 0.7323 GB, free: 3.418 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003004/0.2925, allocations: 27.92 kB / 0.7324 GB, free: 3.391 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.466e-06/0.2925, allocations: 0 / 0.7324 GB, free: 3.391 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.2925, allocations: 4 kB / 0.7324 GB, free: 3.387 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.2926, allocations: 0 / 0.7324 GB, free: 3.387 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/0.2926, allocations: 4 kB / 0.7324 GB, free: 3.383 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2937, allocations: 231.3 kB / 0.7326 GB, free: 3.141 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.024e-05/0.2939, allocations: 77.11 kB / 0.7327 GB, free: 3.047 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.006e-05/0.2939, allocations: 0 / 0.7327 GB, free: 3.047 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000298/0.2942, allocations: 23.97 kB / 0.7327 GB, free: 3.023 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.877e-05/0.2943, allocations: 4 kB / 0.7327 GB, free: 3.02 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/0.2944, allocations: 0 / 0.7327 GB, free: 3.02 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001532/0.2945, allocations: 99.27 kB / 0.7328 GB, free: 2.922 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.72e-07/0.2946, allocations: 0 / 0.7328 GB, free: 2.922 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0005342/0.2951, allocations: 23.89 kB / 0.7328 GB, free: 2.898 MB / 0.5574 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 () * Number of clocked 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.001638/0.2968, allocations: 0.7631 MB / 0.7336 GB, free: 2.109 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.001012/0.2978, allocations: 104.2 kB / 0.7337 GB, free: 2.008 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/0.2979, allocations: 0 / 0.7337 GB, free: 2.008 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.2984, allocations: 59.83 kB / 0.7337 GB, free: 1.949 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003797/0.2988, allocations: 4 kB / 0.7337 GB, free: 1.945 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009963/0.2998, allocations: 198.4 kB / 0.7339 GB, free: 1.715 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004158/0.3003, allocations: 0.6887 MB / 0.7346 GB, free: 1 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 8.692e-05/0.3004, allocations: 7.984 kB / 0.7346 GB, free: 0.9922 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.101e-05/0.3005, allocations: 19.42 kB / 0.7346 GB, free: 0.9727 MB / 0.5574 GB Notification: Performance of SimCode: time 1.393e-06/0.3005, allocations: 0 / 0.7346 GB, free: 0.9727 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02713/0.3277, allocations: 1.536 MB / 0.7361 GB, free: 15.54 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002221/0.328, allocations: 183.8 kB / 0.7363 GB, free: 15.3 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.768/3.096, allocations: 0 / 0.7363 GB, free: 15.3 MB / 0.573 GB