Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01407/0.01407, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.003238/0.003238, allocations: 190.7 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.74/2.74, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003742/0.003743, allocations: 282.5 kB / 290.9 MB, free: 2.195 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.987/1.987, allocations: 169.2 MB / 0.4984 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003267/0.003267, allocations: 97.56 kB / 0.5952 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4218, allocations: 86.97 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.003982/0.4258, allocations: 0.6757 MB / 0.6808 GB, free: 0.5117 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001345/0.4272, allocations: 386.8 kB / 0.6811 GB, free: 136 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.709e-05/0.4273, allocations: 3.938 kB / 0.6811 GB, free: 132 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 3.503e-05/0.4274, allocations: 0.75 kB / 0.6811 GB, free: 132 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 5.34e-05/0.4274, allocations: 0 / 0.6811 GB, free: 132 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006761/0.4281, allocations: 85.78 kB / 0.6812 GB, free: 52 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.4282, allocations: 23.86 kB / 0.6812 GB, free: 28 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.341e-05/0.4283, allocations: 4 kB / 0.6812 GB, free: 24 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.979e-05/0.4284, allocations: 11.97 kB / 0.6812 GB, free: 12 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000159/0.4286, allocations: 15.98 kB / 0.6813 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.243e-05/0.4286, allocations: 0 / 0.6813 GB, free: 15.99 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006495/0.4293, allocations: 273.5 kB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.588e-05/0.4293, allocations: 11.94 kB / 0.6815 GB, free: 15.72 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.654e-05/0.4294, allocations: 15.91 kB / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002392/0.4297, allocations: 63.89 kB / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.4297, allocations: 0 / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.4297, allocations: 0.5312 kB / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.355e-06/0.4297, allocations: 0 / 0.6816 GB, free: 15.64 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009014/0.4306, allocations: 357.5 kB / 0.682 GB, free: 15.24 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.135e-05/0.4307, allocations: 8.031 kB / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.4309, allocations: 8.844 kB / 0.682 GB, free: 15.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.4311, allocations: 165.3 kB / 0.6821 GB, free: 15.03 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.4312, allocations: 4.375 kB / 0.6821 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.258e-05/0.4312, allocations: 1.094 kB / 0.6821 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002391/0.4315, allocations: 58.8 kB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.4315, allocations: 192 / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.506e-05/0.4315, allocations: 9.344 kB / 0.6822 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.4315, allocations: 0 / 0.6822 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.448e-05/0.4316, allocations: 19.97 kB / 0.6822 GB, free: 14.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003871/0.432, allocations: 174.2 kB / 0.6824 GB, free: 14.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.4322, allocations: 62.5 kB / 0.6824 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.219e-05/0.4323, allocations: 28.84 kB / 0.6825 GB, free: 14.61 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001077/0.4334, allocations: 461.5 kB / 0.6829 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.4335, allocations: 30.56 kB / 0.6829 GB, free: 14.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=7): time 1.654e-06/0.4335, allocations: 0 / 0.6829 GB, free: 14.03 MB / 494.1 MB Notification: Performance of matching and sorting (n=11): time 0.002235/0.4357, allocations: 0.5916 MB / 0.6835 GB, free: 13.35 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.527e-05/0.4358, allocations: 55.41 kB / 0.6836 GB, free: 13.28 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.436, allocations: 93.86 kB / 0.6837 GB, free: 13.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.436, allocations: 33.7 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.397e-05/0.4361, allocations: 80.14 kB / 0.6838 GB, free: 13.06 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.449e-05/0.4362, allocations: 35.45 kB / 0.6838 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.389e-05/0.4363, allocations: 29.7 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000231/0.4365, allocations: 314.8 kB / 0.6841 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.241e-05/0.4366, allocations: 27.92 kB / 0.6842 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.172e-05/0.4367, allocations: 27.98 kB / 0.6842 GB, free: 12.62 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.4369, allocations: 56.8 kB / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.4369, allocations: 0 / 0.6842 GB, free: 12.56 MB / 494.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002689/0.4372, allocations: 105.5 kB / 0.6843 GB, free: 12.45 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.805e-05/0.4372, allocations: 10.03 kB / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.4372, allocations: 0 / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.613e-05/0.4373, allocations: 0 / 0.6843 GB, free: 12.44 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001745/0.4375, allocations: 16 kB / 0.6844 GB, free: 12.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.98e-05/0.4375, allocations: 4 kB / 0.6844 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.351e-05/0.4375, allocations: 11.94 kB / 0.6844 GB, free: 12.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.569e-05/0.4376, allocations: 7.984 kB / 0.6844 GB, free: 12.4 MB / 494.1 MB 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 (13): * Single equations (assignments): 13 * 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 0.0001556/0.4378, allocations: 111.2 kB / 0.6845 GB, free: 12.29 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.816e-05/0.4378, allocations: 11.88 kB / 0.6845 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003524/0.4382, allocations: 97.58 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.4382, allocations: 4 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.4382, allocations: 0 / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.524e-05/0.4383, allocations: 3.984 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008337/0.4391, allocations: 366.4 kB / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.4391, allocations: 0 / 0.685 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001669/0.4393, allocations: 16 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.4393, allocations: 0 / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.4393, allocations: 4 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.4394, allocations: 3.984 kB / 0.685 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.4394, allocations: 3.938 kB / 0.685 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005239/0.4399, allocations: 222.6 kB / 0.6852 GB, free: 11.49 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001553/0.4401, allocations: 89 kB / 0.6853 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.4401, allocations: 4 kB / 0.6853 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.4403, allocations: 4.188 kB / 0.6853 GB, free: 11.38 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.969e-05/0.4403, allocations: 7.984 kB / 0.6853 GB, free: 11.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.649e-05/0.4403, allocations: 7.984 kB / 0.6853 GB, free: 11.36 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.6e-05/0.4404, allocations: 75.28 kB / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4404, allocations: 0 / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005232/0.441, allocations: 51.98 kB / 0.6854 GB, free: 11.24 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * 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.0005452/0.4415, allocations: 147.2 kB / 0.6856 GB, free: 11.09 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002738/0.4418, allocations: 64.3 kB / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4418, allocations: 0 / 0.6856 GB, free: 11.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.4419, allocations: 39.86 kB / 0.6857 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.4424, allocations: 8 kB / 0.6857 GB, free: 10.98 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007692/0.4431, allocations: 221.7 kB / 0.6859 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006167/0.4438, allocations: 0.6926 MB / 0.6866 GB, free: 10.01 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.4439, allocations: 11.44 kB / 0.6866 GB, free: 10 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.4439, allocations: 0 / 0.6866 GB, free: 10 MB / 494.1 MB Notification: Performance of Templates: time 0.006828/0.4507, allocations: 1.211 MB / 0.6877 GB, free: 8.793 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_CheckCalcHelperMain.o] Error 1