Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01019/0.01019, allocations: 100 kB / 15.87 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 189.7 kB / 16.79 MB, free: 5.805 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.786/1.786, allocations: 205.1 MB / 222.6 MB, free: 4.723 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.782/1.782, allocations: 292.3 MB / 0.5491 GB, free: 13.61 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.001339/0.001339, allocations: 67.66 kB / 0.6715 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3157/0.3171, allocations: 114.5 MB / 0.7833 GB, free: 13.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.002306/0.3195, allocations: 0.6703 MB / 0.784 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008167/0.3203, allocations: 370.9 kB / 0.7843 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.557e-05/0.3203, allocations: 0 / 0.7843 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.3203, allocations: 0 / 0.7843 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.382e-05/0.3204, allocations: 3.938 kB / 0.7843 GB, free: 12.91 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003885/0.3208, allocations: 75.84 kB / 0.7844 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.367e-05/0.3208, allocations: 11.94 kB / 0.7844 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.298e-05/0.3209, allocations: 4 kB / 0.7844 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.095e-05/0.3209, allocations: 4 kB / 0.7844 GB, free: 12.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.86e-05/0.321, allocations: 7.969 kB / 0.7844 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.343e-05/0.321, allocations: 0 / 0.7844 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003779/0.3214, allocations: 275.7 kB / 0.7847 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.3214, allocations: 0 / 0.7847 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.751e-05/0.3214, allocations: 11.94 kB / 0.7847 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001306/0.3216, allocations: 55.89 kB / 0.7848 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3216, allocations: 0 / 0.7848 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.72e-07/0.3216, allocations: 0 / 0.7848 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.3216, allocations: 0 / 0.7848 GB, free: 12.47 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0004277/0.322, allocations: 343.6 kB / 0.7851 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.426e-05/0.3221, allocations: 8.031 kB / 0.7851 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.432e-05/0.3222, allocations: 8.844 kB / 0.7851 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001447/0.3223, allocations: 168.3 kB / 0.7853 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.078e-05/0.3223, allocations: 384 / 0.7853 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.3224, allocations: 384 / 0.7853 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.3225, allocations: 34.27 kB / 0.7853 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.3225, allocations: 12.11 kB / 0.7853 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.3225, allocations: 3.938 kB / 0.7853 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3225, allocations: 4 kB / 0.7853 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.529e-05/0.3226, allocations: 3.984 kB / 0.7853 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.3228, allocations: 153.9 kB / 0.7855 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.975e-05/0.3228, allocations: 26.53 kB / 0.7855 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.363e-05/0.3229, allocations: 8.922 kB / 0.7855 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008138/0.3237, allocations: 465.5 kB / 0.786 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.3237, allocations: 34.55 kB / 0.786 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3237, allocations: 0 / 0.786 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005839/0.3243, allocations: 262.4 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.471e-05/0.3244, allocations: 51.41 kB / 0.7863 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.67e-05/0.3244, allocations: 93.86 kB / 0.7864 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/0.3245, allocations: 25.7 kB / 0.7864 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.3245, allocations: 80.14 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.849e-05/0.3245, allocations: 11.91 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.3246, allocations: 17.7 kB / 0.7865 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.3247, allocations: 319 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.969e-05/0.3247, allocations: 4 kB / 0.7868 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.864e-05/0.3248, allocations: 17.7 kB / 0.7868 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.933e-05/0.3248, allocations: 29.66 kB / 0.7869 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.3248, allocations: 0 / 0.7869 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.217e-05/0.3249, allocations: 53.64 kB / 0.7869 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.325, allocations: 15.92 kB / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.325, allocations: 0 / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.325, allocations: 0 / 0.7869 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.234e-05/0.3251, allocations: 8 kB / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3251, allocations: 0 / 0.7869 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.3251, allocations: 4 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.3251, allocations: 4 kB / 0.7869 GB, free: 9.871 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 7.448e-05/0.3252, allocations: 110.9 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.3252, allocations: 8 kB / 0.7871 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.3254, allocations: 61.02 kB / 0.7871 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.3254, allocations: 4 kB / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.3254, allocations: 0 / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3254, allocations: 0 / 0.7871 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.3255, allocations: 153.7 kB / 0.7873 GB, free: 9.469 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3255, allocations: 3.938 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.268e-05/0.3256, allocations: 7.938 kB / 0.7873 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3256, allocations: 3.938 kB / 0.7873 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.873e-06/0.3256, allocations: 4 kB / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.3256, allocations: 0 / 0.7873 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3256, allocations: 4 kB / 0.7873 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.3258, allocations: 77.34 kB / 0.7874 GB, free: 9.352 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.449e-05/0.3258, allocations: 77.11 kB / 0.7874 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.3259, allocations: 3.938 kB / 0.7874 GB, free: 9.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.396e-05/0.3259, allocations: 8.016 kB / 0.7874 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.815e-05/0.3259, allocations: 8 kB / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.326, allocations: 0 / 0.7875 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.988e-05/0.326, allocations: 83.27 kB / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.326, allocations: 0 / 0.7875 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002202/0.3262, allocations: 28 kB / 0.7876 GB, free: 9.129 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (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.0002284/0.3265, allocations: 123.2 kB / 0.7877 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 8.845e-05/0.3266, allocations: 12 kB / 0.7877 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/0.3266, allocations: 4.219 kB / 0.7877 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.124e-05/0.3266, allocations: 15.92 kB / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001468/0.3268, allocations: 0 / 0.7877 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.3271, allocations: 142 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.3273, allocations: 0.677 MB / 0.7885 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.154e-05/0.3274, allocations: 11.42 kB / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.3274, allocations: 0 / 0.7885 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of Templates: time 0.002508/0.3299, allocations: 0.7609 MB / 0.7893 GB, free: 7.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o] Error 1