Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008937/0.000894, allocations: 101.5 kB / 15.71 MB, free: 456 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001071/0.001072, allocations: 180.7 kB / 16.59 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.4 MB / 222.8 MB, free: 5.887 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.7 MB / 0.5505 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000887/0.0008872, allocations: 19.5 kB / 0.6743 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3031, allocations: 116.3 MB / 0.7879 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.002488/0.3056, allocations: 1.195 MB / 0.7891 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004756/0.3061, allocations: 108.6 kB / 0.7892 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.289e-05/0.3062, allocations: 0 / 0.7892 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.704e-05/0.3063, allocations: 3.938 kB / 0.7892 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.497e-05/0.3064, allocations: 7.922 kB / 0.7892 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.3067, allocations: 23.97 kB / 0.7892 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.3069, allocations: 31.86 kB / 0.7893 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001696/0.307, allocations: 19.92 kB / 0.7893 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.379e-05/0.3071, allocations: 11.98 kB / 0.7893 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.114e-05/0.3072, allocations: 27.84 kB / 0.7893 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.018e-05/0.3073, allocations: 0 / 0.7893 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.3074, allocations: 19.98 kB / 0.7893 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.171e-05/0.3074, allocations: 7.984 kB / 0.7893 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.213e-05/0.3075, allocations: 37.64 kB / 0.7894 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001524/0.3077, allocations: 35.92 kB / 0.7894 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.395e-05/0.3077, allocations: 4 kB / 0.7894 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of FrontEnd: time 4.188e-06/0.3077, allocations: 0 / 0.7894 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.46e-05/0.3077, allocations: 4 kB / 0.7894 GB, free: 10.41 MB / 0.6075 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.000838/0.3086, allocations: 379.4 kB / 0.7898 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.3086, allocations: 8.031 kB / 0.7898 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.3087, allocations: 7.906 kB / 0.7898 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.3089, allocations: 175 kB / 0.79 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.309, allocations: 0 / 0.79 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.075e-05/0.309, allocations: 4 kB / 0.79 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.3094, allocations: 77.66 kB / 0.79 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.3094, allocations: 4 kB / 0.79 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.3094, allocations: 4 kB / 0.79 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.3094, allocations: 0 / 0.79 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003229/0.3097, allocations: 103.8 kB / 0.7901 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005922/0.3104, allocations: 292.7 kB / 0.7904 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.3106, allocations: 78.53 kB / 0.7905 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000157/0.3108, allocations: 56.91 kB / 0.7906 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003004/0.3111, allocations: 109.1 kB / 0.7907 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/0.3111, allocations: 34.5 kB / 0.7907 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.493e-06/0.3112, allocations: 0 / 0.7907 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0006108/0.3118, allocations: 173.6 kB / 0.7909 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.994e-05/0.3118, allocations: 55.41 kB / 0.7909 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.312, allocations: 129.8 kB / 0.791 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.312, allocations: 29.7 kB / 0.7911 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.177e-05/0.3121, allocations: 88.05 kB / 0.7911 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.675e-05/0.3122, allocations: 19.88 kB / 0.7912 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.177e-06/0.3122, allocations: 0 / 0.7912 GB, free: 8.402 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002169/0.3124, allocations: 318.8 kB / 0.7915 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.3126, allocations: 51.95 kB / 0.7915 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3127, allocations: 43.97 kB / 0.7916 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001471/0.3129, allocations: 51.89 kB / 0.7916 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3129, allocations: 0 / 0.7916 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003312/0.3132, allocations: 133.5 kB / 0.7917 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/0.3133, allocations: 8 kB / 0.7917 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/0.3133, allocations: 3.938 kB / 0.7917 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/0.3133, allocations: 0 / 0.7917 GB, free: 7.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3134, allocations: 23.98 kB / 0.7918 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.3135, allocations: 0 / 0.7918 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.703e-05/0.3135, allocations: 19.98 kB / 0.7918 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.3136, allocations: 0 / 0.7918 GB, free: 7.746 MB / 0.6075 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.0001045/0.3137, allocations: 117.8 kB / 0.7919 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.92e-05/0.3137, allocations: 12.23 kB / 0.7919 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.3141, allocations: 149.4 kB / 0.7921 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3141, allocations: 0 / 0.7921 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3141, allocations: 0 / 0.7921 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.3141, allocations: 0 / 0.7921 GB, free: 7.449 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002063/0.3143, allocations: 181.6 kB / 0.7922 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.145e-06/0.3143, allocations: 4 kB / 0.7922 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.968e-05/0.3144, allocations: 19.97 kB / 0.7923 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.067e-06/0.3145, allocations: 8 kB / 0.7923 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.3145, allocations: 3.938 kB / 0.7923 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3145, allocations: 0 / 0.7923 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3145, allocations: 0 / 0.7923 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000406/0.3149, allocations: 231.4 kB / 0.7925 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.315, allocations: 85.02 kB / 0.7926 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.042e-05/0.315, allocations: 0 / 0.7926 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3151, allocations: 23.98 kB / 0.7926 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.612e-05/0.3152, allocations: 3.984 kB / 0.7926 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.3152, allocations: 4 kB / 0.7926 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.274e-05/0.3153, allocations: 98.52 kB / 0.7927 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3153, allocations: 0 / 0.7927 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002456/0.3155, allocations: 12 kB / 0.7927 GB, free: 6.707 MB / 0.6075 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.0002225/0.3158, allocations: 103.2 kB / 0.7928 GB, free: 6.598 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003529/0.3161, allocations: 99.91 kB / 0.7929 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3161, allocations: 4 kB / 0.7929 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001729/0.3163, allocations: 51.91 kB / 0.7929 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003048/0.3166, allocations: 14.75 kB / 0.793 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.3171, allocations: 190.3 kB / 0.7931 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3174, allocations: 0.6887 MB / 0.7938 GB, free: 5.504 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.435e-05/0.3174, allocations: 7.438 kB / 0.7938 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.3174, allocations: 0 / 0.7938 GB, free: 5.496 MB / 0.6075 GB Notification: Performance of Templates: time 0.002839/0.3203, allocations: 0.8902 MB / 0.7947 GB, free: 4.605 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.QuadraticLinearCalcHelperMain.o] Error 1