Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.01292/0.01293, allocations: 100.8 kB / 15.87 MB, free: 6.328 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.002703/0.002704, allocations: 194.9 kB / 16.79 MB, free: 6.254 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.694/2.694, allocations: 222.9 MB / 240.4 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004261/0.004262, allocations: 287 kB / 290.9 MB, free: 2.035 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.844/1.844, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003802/0.003802, allocations: 91.23 kB / 0.5951 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4189, allocations: 87 MB / 0.6801 GB, free: 1.145 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.004054/0.4231, allocations: 0.6462 MB / 0.6807 GB, free: 0.5078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.4245, allocations: 374.9 kB / 0.6811 GB, free: 144 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.683e-05/0.4245, allocations: 0 / 0.6811 GB, free: 144 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.738e-05/0.4246, allocations: 0.625 kB / 0.6811 GB, free: 144 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.227e-05/0.4246, allocations: 7.938 kB / 0.6811 GB, free: 136 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006419/0.4253, allocations: 77.09 kB / 0.6812 GB, free: 64 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.909e-05/0.4254, allocations: 7.984 kB / 0.6812 GB, free: 56 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.507e-05/0.4255, allocations: 0 / 0.6812 GB, free: 56 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.893e-05/0.4255, allocations: 8.5 kB / 0.6812 GB, free: 48 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.4256, allocations: 4 kB / 0.6812 GB, free: 44 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 3.048e-05/0.4257, allocations: 4.719 kB / 0.6812 GB, free: 40 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007202/0.4264, allocations: 268.2 kB / 0.6815 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.208e-05/0.4264, allocations: 11.98 kB / 0.6815 GB, free: 15.77 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.4265, allocations: 5.875 kB / 0.6815 GB, free: 15.76 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002366/0.4267, allocations: 59.89 kB / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.193e-05/0.4268, allocations: 4 kB / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.975e-06/0.4268, allocations: 0 / 0.6815 GB, free: 15.7 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.4268, allocations: 0 / 0.6815 GB, free: 15.7 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0007085/0.4275, allocations: 335.9 kB / 0.6818 GB, free: 15.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.852e-05/0.4276, allocations: 12.03 kB / 0.6819 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/0.4277, allocations: 0.9375 kB / 0.6819 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002421/0.428, allocations: 172.3 kB / 0.682 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.428, allocations: 384 / 0.682 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.194e-05/0.4281, allocations: 4.375 kB / 0.682 GB, free: 15.1 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.4283, allocations: 38.25 kB / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.4283, allocations: 192 / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/0.4283, allocations: 7.938 kB / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.4283, allocations: 0 / 0.6821 GB, free: 15.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.477e-05/0.4284, allocations: 4 kB / 0.6821 GB, free: 15.04 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.4287, allocations: 157.6 kB / 0.6822 GB, free: 14.84 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.418e-05/0.4288, allocations: 26.52 kB / 0.6823 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.797e-05/0.4288, allocations: 4.859 kB / 0.6823 GB, free: 14.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.43, allocations: 465.5 kB / 0.6827 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.617e-05/0.4301, allocations: 30.56 kB / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.352e-06/0.4301, allocations: 0 / 0.6827 GB, free: 14.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0009854/0.4311, allocations: 262.5 kB / 0.683 GB, free: 13.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.928e-05/0.4311, allocations: 51.41 kB / 0.683 GB, free: 13.84 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.4313, allocations: 97.78 kB / 0.6831 GB, free: 13.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.4313, allocations: 33.7 kB / 0.6832 GB, free: 13.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.512e-05/0.4314, allocations: 80.14 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.504e-05/0.4314, allocations: 7.812 kB / 0.6832 GB, free: 13.61 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-05/0.4315, allocations: 17.88 kB / 0.6833 GB, free: 13.58 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001891/0.4317, allocations: 318.8 kB / 0.6836 GB, free: 13.26 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.044e-05/0.4318, allocations: 4 kB / 0.6836 GB, free: 13.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.287e-05/0.4318, allocations: 17.72 kB / 0.6836 GB, free: 13.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.976e-05/0.4319, allocations: 29.66 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.4319, allocations: 0 / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001765/0.4321, allocations: 57.62 kB / 0.6837 GB, free: 13.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.601e-05/0.4322, allocations: 7.938 kB / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.4322, allocations: 0 / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.457e-05/0.4322, allocations: 0 / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.4323, allocations: 8 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.558e-05/0.4324, allocations: 3.984 kB / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.071e-05/0.4324, allocations: 0 / 0.6837 GB, free: 13.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.4324, allocations: 4 kB / 0.6837 GB, free: 13.11 MB / 494.1 MB 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 0.0001588/0.4326, allocations: 111.2 kB / 0.6838 GB, free: 13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.037e-05/0.4327, allocations: 12 kB / 0.6838 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002844/0.433, allocations: 53.12 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.433, allocations: 0 / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.397e-06/0.433, allocations: 0 / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.433, allocations: 3.984 kB / 0.6839 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.4333, allocations: 153.7 kB / 0.684 GB, free: 12.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4333, allocations: 3.984 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.909e-05/0.4334, allocations: 4 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.4335, allocations: 3.938 kB / 0.684 GB, free: 12.71 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4335, allocations: 8 kB / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4335, allocations: 0 / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.4335, allocations: 0 / 0.684 GB, free: 12.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002889/0.4338, allocations: 73.12 kB / 0.6841 GB, free: 12.61 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.464e-05/0.4339, allocations: 84.95 kB / 0.6842 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/0.434, allocations: 15.89 kB / 0.6842 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.988e-05/0.434, allocations: 4 kB / 0.6842 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.759e-05/0.4341, allocations: 8.062 kB / 0.6842 GB, free: 12.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4341, allocations: 7.938 kB / 0.6842 GB, free: 12.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.099e-05/0.4342, allocations: 75.28 kB / 0.6843 GB, free: 12.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4342, allocations: 0 / 0.6843 GB, free: 12.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004049/0.4346, allocations: 27.98 kB / 0.6843 GB, free: 12.37 MB / 494.1 MB 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.0004089/0.435, allocations: 119.2 kB / 0.6844 GB, free: 12.24 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001522/0.4352, allocations: 19.98 kB / 0.6844 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.4352, allocations: 4.219 kB / 0.6844 GB, free: 12.22 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.848e-05/0.4353, allocations: 7.938 kB / 0.6845 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.4355, allocations: 8 kB / 0.6845 GB, free: 12.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4361, allocations: 137.2 kB / 0.6846 GB, free: 12.04 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004828/0.4366, allocations: 0.677 MB / 0.6853 GB, free: 11.34 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.465e-05/0.4366, allocations: 11.44 kB / 0.6853 GB, free: 11.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.4366, allocations: 0 / 0.6853 GB, free: 11.33 MB / 494.1 MB Notification: Performance of Templates: time 0.004983/0.4416, allocations: 0.767 MB / 0.686 GB, free: 10.57 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile make -j1 -f BuildingSystems_BuildingSystems.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 OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheckCalcHelperMain.o] Error 1