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.PowerLinearized.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.PowerLinearized,fileNamePrefix="Buildings_6_0_0_Buildings_Utilities_Math_Examples_PowerLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0104/0.0104, allocations: 107.1 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001168/0.001168, allocations: 181.7 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.834/1.834, allocations: 194.5 MB / 211.3 MB, free: 11.08 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.312/2.312, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 12 kB / 0.587 GB, free: 2.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7167/0.7172, allocations: 98.71 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.01069/0.728, allocations: 1.141 MB / 0.6845 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0003374/0.7284, allocations: 88.45 kB / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.7284, allocations: 0 / 0.6846 GB, free: 15.89 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.7285, allocations: 4.609 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 5.584e-05/0.7286, allocations: 5.406 kB / 0.6846 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.7288, allocations: 13.95 kB / 0.6846 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 6.911e-05/0.7288, allocations: 15 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.326e-05/0.729, allocations: 8.125 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 4.7e-05/0.729, allocations: 9.125 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 5.12e-05/0.7291, allocations: 17.91 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.7291, allocations: 2.438 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 7.489e-05/0.7292, allocations: 14.16 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 1.491e-05/0.7292, allocations: 5.219 kB / 0.6847 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.7293, allocations: 27.02 kB / 0.6847 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.000101/0.7294, allocations: 19.61 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.7294, allocations: 1.156 kB / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.853e-06/0.7294, allocations: 0 / 0.6848 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.7294, allocations: 0 / 0.6848 GB, free: 15.8 MB / 0.5261 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.0005096/0.7299, allocations: 338.3 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.237e-05/0.73, allocations: 10.14 kB / 0.6851 GB, free: 15.45 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.25e-05/0.7301, allocations: 34.56 kB / 0.6851 GB, free: 15.41 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002879/0.7304, allocations: 19.14 kB / 0.6851 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001086/0.7305, allocations: 174.4 kB / 0.6853 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.7305, allocations: 0.875 kB / 0.6853 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.564e-05/0.7306, allocations: 1.156 kB / 0.6853 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003528/0.7309, allocations: 66.7 kB / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.731, allocations: 0 / 0.6854 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.731, allocations: 4 kB / 0.6854 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.731, allocations: 4.938 kB / 0.6854 GB, free: 15.15 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00051/0.7315, allocations: 61.81 kB / 0.6854 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005179/0.7321, allocations: 262.7 kB / 0.6857 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003791/0.7325, allocations: 68.77 kB / 0.6858 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.7325, allocations: 0 / 0.6858 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.7325, allocations: 32.48 kB / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.7325, allocations: 0 / 0.6858 GB, free: 14.79 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0009098/0.7335, allocations: 129.3 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.689e-05/0.7335, allocations: 55.34 kB / 0.686 GB, free: 14.67 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.033e-05/0.7336, allocations: 113.2 kB / 0.6861 GB, free: 14.56 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.7337, allocations: 25.7 kB / 0.6861 GB, free: 14.53 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.112e-05/0.7337, allocations: 86.11 kB / 0.6862 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.26e-05/0.7337, allocations: 5.641 kB / 0.6862 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.7338, allocations: 0 / 0.6862 GB, free: 14.44 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.013e-05/0.7339, allocations: 313.5 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.7341, allocations: 34.61 kB / 0.6865 GB, free: 14.12 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002597/0.7344, allocations: 29.8 kB / 0.6865 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.7347, allocations: 30.69 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7347, allocations: 4.062 kB / 0.6866 GB, free: 14.11 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005895/0.7353, allocations: 94.92 kB / 0.6867 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.7353, allocations: 6 kB / 0.6867 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.7354, allocations: 5.094 kB / 0.6867 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.7354, allocations: 0 / 0.6867 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.7356, allocations: 18.34 kB / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7356, allocations: 0 / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001558/0.7358, allocations: 15.8 kB / 0.6867 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.418e-05/0.7358, allocations: 2.219 kB / 0.6867 GB, free: 14.05 MB / 0.5261 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 (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 8.294e-05/0.7359, allocations: 112.1 kB / 0.6868 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.205e-05/0.736, allocations: 5.312 kB / 0.6868 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.136e-05/0.7361, allocations: 6.203 kB / 0.6868 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-06/0.7361, allocations: 0 / 0.6868 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7361, allocations: 1.219 kB / 0.6868 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.7361, allocations: 0.7031 kB / 0.6868 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002738/0.7364, allocations: 167.8 kB / 0.687 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.7364, allocations: 5.688 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.7366, allocations: 22.47 kB / 0.687 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.7366, allocations: 3.938 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.302e-05/0.7367, allocations: 1.469 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.7367, allocations: 0.6094 kB / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.7367, allocations: 0 / 0.687 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006147/0.7373, allocations: 198.8 kB / 0.6872 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.444e-05/0.7374, allocations: 79.09 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.7374, allocations: 2.062 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.7376, allocations: 10.53 kB / 0.6873 GB, free: 13.46 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.199e-05/0.7377, allocations: 6.375 kB / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.7377, allocations: 6.562 kB / 0.6873 GB, free: 13.45 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.851e-05/0.7378, allocations: 84.23 kB / 0.6874 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.082e-06/0.7378, allocations: 0 / 0.6874 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01206/0.7499, allocations: 4.688 kB / 0.6874 GB, free: 13.37 MB / 0.5261 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 (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.001566/0.7515, allocations: 0.7261 MB / 0.6881 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0006028/0.7522, allocations: 71.44 kB / 0.6882 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.7522, allocations: 1.188 kB / 0.6882 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002878/0.7525, allocations: 36.59 kB / 0.6882 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003503/0.7528, allocations: 5.719 kB / 0.6882 GB, free: 12.67 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008224/0.7537, allocations: 157.5 kB / 0.6884 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.7539, allocations: 0.6879 MB / 0.689 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.488e-05/0.754, allocations: 5.922 kB / 0.689 GB, free: 11.82 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.489e-05/0.754, allocations: 12.19 kB / 0.6891 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of SimCode: time 9.81e-07/0.7541, allocations: 1.25 kB / 0.6891 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04311/0.7972, allocations: 1.17 MB / 0.6902 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003722/0.7977, allocations: 185.9 kB / 0.6904 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.401/3.199, allocations: 5.625 kB / 0.6904 GB, free: 11.39 MB / 0.5261 GB