Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.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.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") translateModel(Buildings.Utilities.Math.Examples.PowerLinearized,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 91.92 kB / 16.02 MB, free: 80 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.002957/0.002957, allocations: 180.6 kB / 16.92 MB, free: 6.652 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.965/1.965, allocations: 205.4 MB / 223.1 MB, free: 5.43 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.768/1.768, allocations: 292.7 MB / 0.5509 GB, free: 14.49 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.0005724/0.0005724, allocations: 17.25 kB / 0.675 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3201, allocations: 116.3 MB / 0.7885 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.PowerLinearized): time 0.00166/0.3218, allocations: 1.156 MB / 0.7897 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002908/0.3221, allocations: 100.6 kB / 0.7898 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.302e-05/0.3222, allocations: 4 kB / 0.7898 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.255e-05/0.3222, allocations: 0 / 0.7898 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.025e-05/0.3222, allocations: 3.938 kB / 0.7898 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001561/0.3224, allocations: 15.97 kB / 0.7898 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.164e-05/0.3225, allocations: 23.88 kB / 0.7898 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.993e-05/0.3226, allocations: 11.98 kB / 0.7898 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.044e-05/0.3226, allocations: 4 kB / 0.7898 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.034e-05/0.3227, allocations: 15.92 kB / 0.7898 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.34e-05/0.3227, allocations: 0 / 0.7898 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.194e-05/0.3228, allocations: 19.98 kB / 0.7899 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.3228, allocations: 0 / 0.7899 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.93e-05/0.3228, allocations: 37.64 kB / 0.7899 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.736e-05/0.3229, allocations: 19.94 kB / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.3229, allocations: 0 / 0.7899 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3229, allocations: 4 kB / 0.7899 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.3229, allocations: 0 / 0.7899 GB, free: 10.17 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000485/0.3234, allocations: 347.7 kB / 0.7902 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3235, allocations: 8.031 kB / 0.7903 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001685/0.3236, allocations: 16.92 kB / 0.7903 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.3238, allocations: 164.3 kB / 0.7904 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.038e-05/0.3238, allocations: 8.312 kB / 0.7904 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.096e-05/0.3238, allocations: 4.375 kB / 0.7904 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.324, allocations: 66.22 kB / 0.7905 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.3241, allocations: 4.172 kB / 0.7905 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.3241, allocations: 7.875 kB / 0.7905 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3241, allocations: 0 / 0.7905 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.3243, allocations: 59.95 kB / 0.7906 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004774/0.3248, allocations: 273 kB / 0.7908 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001889/0.325, allocations: 62.48 kB / 0.7909 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001205/0.3251, allocations: 44.83 kB / 0.7909 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3252, allocations: 0 / 0.7909 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.3252, allocations: 34.5 kB / 0.791 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.3252, allocations: 0 / 0.791 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004521/0.3257, allocations: 125.6 kB / 0.7911 GB, free: 8.801 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.3257, allocations: 51.41 kB / 0.7911 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.665e-05/0.3258, allocations: 110 kB / 0.7912 GB, free: 8.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.637e-05/0.3258, allocations: 25.7 kB / 0.7913 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.887e-05/0.3259, allocations: 84.14 kB / 0.7913 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.3259, allocations: 11.84 kB / 0.7914 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.368e-05/0.326, allocations: 9.719 kB / 0.7914 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3261, allocations: 314.8 kB / 0.7917 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3262, allocations: 31.97 kB / 0.7917 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001084/0.3263, allocations: 31.97 kB / 0.7917 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002068/0.3266, allocations: 72.81 kB / 0.7918 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3266, allocations: 0 / 0.7918 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002644/0.3268, allocations: 101.5 kB / 0.7919 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3269, allocations: 4 kB / 0.7919 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.3269, allocations: 4 kB / 0.7919 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.3269, allocations: 0 / 0.7919 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.327, allocations: 11.98 kB / 0.7919 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.327, allocations: 0 / 0.7919 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.958e-05/0.3271, allocations: 20.02 kB / 0.7919 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.3271, allocations: 0 / 0.7919 GB, free: 7.879 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.118e-05/0.3272, allocations: 117.8 kB / 0.792 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3272, allocations: 4 kB / 0.792 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.3273, allocations: 7.469 kB / 0.7921 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.3273, allocations: 3.938 kB / 0.7921 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.3273, allocations: 0 / 0.7921 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.3273, allocations: 0 / 0.7921 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001849/0.3275, allocations: 173.6 kB / 0.7922 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3275, allocations: 0 / 0.7922 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.335e-05/0.3276, allocations: 15.98 kB / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3276, allocations: 0 / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.3276, allocations: 0 / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.3276, allocations: 0 / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3276, allocations: 0 / 0.7922 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002968/0.3279, allocations: 191.4 kB / 0.7924 GB, free: 7.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.983e-05/0.3279, allocations: 85.02 kB / 0.7925 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.328, allocations: 0 / 0.7925 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.018e-05/0.3281, allocations: 16.02 kB / 0.7925 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.3281, allocations: 0 / 0.7925 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.3281, allocations: 4.188 kB / 0.7925 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.433e-05/0.3282, allocations: 99.2 kB / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3282, allocations: 0 / 0.7926 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000209/0.3284, allocations: 4 kB / 0.7926 GB, free: 7.074 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001366/0.3285, allocations: 99.25 kB / 0.7927 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002637/0.3288, allocations: 63.95 kB / 0.7928 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3288, allocations: 0 / 0.7928 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001163/0.3289, allocations: 36.03 kB / 0.7928 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002691/0.3292, allocations: 7.938 kB / 0.7928 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003645/0.3296, allocations: 162.5 kB / 0.793 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.3299, allocations: 0.6809 MB / 0.7936 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.561e-05/0.3299, allocations: 11.38 kB / 0.7936 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of SimCode: time 3.21e-07/0.3299, allocations: 0 / 0.7936 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of Templates: time 0.002152/0.3321, allocations: 0.6244 MB / 0.7943 GB, free: 5.336 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.PowerLinearized.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Examples.PowerLinearizedCalcHelperMain.o] Error 1