Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 100.1 kB / 15.88 MB, free: 12 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.002078/0.002078, allocations: 198.4 kB / 16.79 MB, free: 6.863 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.644/2.644, allocations: 222.9 MB / 240.5 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003851/0.003851, allocations: 283.1 kB / 290.9 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.785/1.785, allocations: 169.2 MB / 0.4984 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002671/0.002671, allocations: 91.28 kB / 0.5952 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4033/0.406, allocations: 86.98 MB / 0.6801 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.005343/0.4114, allocations: 0.6444 MB / 0.6807 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.4131, allocations: 362.8 kB / 0.6811 GB, free: 176 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.985e-05/0.4131, allocations: 0 / 0.6811 GB, free: 176 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.545e-05/0.4132, allocations: 0 / 0.6811 GB, free: 176 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 1.107e-05/0.4132, allocations: 0 / 0.6811 GB, free: 176 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006272/0.4138, allocations: 77.73 kB / 0.6811 GB, free: 100 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 6.581e-05/0.4139, allocations: 4 kB / 0.6811 GB, free: 96 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.882e-05/0.414, allocations: 4.562 kB / 0.6812 GB, free: 92 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.701e-05/0.4141, allocations: 0.625 kB / 0.6812 GB, free: 92 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.124e-05/0.4141, allocations: 0 / 0.6812 GB, free: 92 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.4141, allocations: 1.969 kB / 0.6812 GB, free: 92 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006945/0.4148, allocations: 271.6 kB / 0.6814 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.577e-05/0.4149, allocations: 7.984 kB / 0.6814 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.174e-05/0.4149, allocations: 0 / 0.6814 GB, free: 15.82 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.4151, allocations: 51.91 kB / 0.6815 GB, free: 15.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.4152, allocations: 4 kB / 0.6815 GB, free: 15.76 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.148e-06/0.4152, allocations: 0 / 0.6815 GB, free: 15.76 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.193e-06/0.4152, allocations: 0 / 0.6815 GB, free: 15.76 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0005598/0.4158, allocations: 339.5 kB / 0.6818 GB, free: 15.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.527e-05/0.4158, allocations: 12.03 kB / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.416, allocations: 0.9375 kB / 0.6818 GB, free: 15.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.4162, allocations: 164.4 kB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.4162, allocations: 384 / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.4162, allocations: 384 / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.4164, allocations: 34.27 kB / 0.682 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.4164, allocations: 192 / 0.682 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.673e-05/0.4164, allocations: 3.938 kB / 0.682 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.438e-06/0.4164, allocations: 0 / 0.682 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.4165, allocations: 3.938 kB / 0.682 GB, free: 15.12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002738/0.4168, allocations: 153.7 kB / 0.6822 GB, free: 14.92 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.395e-05/0.4169, allocations: 14.58 kB / 0.6822 GB, free: 14.9 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.136e-05/0.4169, allocations: 4.859 kB / 0.6822 GB, free: 14.89 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009676/0.4179, allocations: 429.6 kB / 0.6826 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.301e-05/0.4179, allocations: 30.56 kB / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.613e-06/0.418, allocations: 4 kB / 0.6826 GB, free: 14.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002962/0.4183, allocations: 41.52 kB / 0.6827 GB, free: 14.29 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.13e-05/0.4183, allocations: 55.53 kB / 0.6827 GB, free: 14.22 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.4184, allocations: 89.86 kB / 0.6828 GB, free: 14.12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.4184, allocations: 25.7 kB / 0.6828 GB, free: 14.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.86e-05/0.4185, allocations: 84.12 kB / 0.6829 GB, free: 14.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.03e-05/0.4186, allocations: 4.281 kB / 0.6829 GB, free: 14 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.718e-05/0.4187, allocations: 13.72 kB / 0.6829 GB, free: 13.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002342/0.4189, allocations: 310.8 kB / 0.6832 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.4189, allocations: 0 / 0.6832 GB, free: 13.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.419, allocations: 8 kB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.419, allocations: 4.859 kB / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.4191, allocations: 0 / 0.6832 GB, free: 13.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001112/0.4192, allocations: 41.64 kB / 0.6833 GB, free: 13.61 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.4192, allocations: 7.984 kB / 0.6833 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.4192, allocations: 0 / 0.6833 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.4193, allocations: 3.938 kB / 0.6833 GB, free: 13.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.918e-05/0.4193, allocations: 4 kB / 0.6833 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.4194, allocations: 3.938 kB / 0.6833 GB, free: 13.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.844e-05/0.4194, allocations: 8.031 kB / 0.6833 GB, free: 13.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-06/0.4194, allocations: 0 / 0.6833 GB, free: 13.58 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 (1): * Single equations (assignments): 1 * 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.0001323/0.4196, allocations: 111.2 kB / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.943e-05/0.4196, allocations: 0 / 0.6834 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001427/0.4197, allocations: 44.69 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.4198, allocations: 0 / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4198, allocations: 0 / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.4198, allocations: 4 kB / 0.6834 GB, free: 13.41 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.42, allocations: 153.7 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.42, allocations: 0 / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.458e-05/0.42, allocations: 0 / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.42, allocations: 3.984 kB / 0.6836 GB, free: 13.21 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.227e-05/0.42, allocations: 3.938 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.42, allocations: 4 kB / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.4201, allocations: 0 / 0.6836 GB, free: 13.2 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001282/0.4202, allocations: 53.14 kB / 0.6837 GB, free: 13.13 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.4204, allocations: 85.05 kB / 0.6837 GB, free: 13.03 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.405e-05/0.4204, allocations: 11.92 kB / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.4205, allocations: 0 / 0.6837 GB, free: 13.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.577e-05/0.4205, allocations: 3.938 kB / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.4205, allocations: 0 / 0.6837 GB, free: 13.01 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.81e-05/0.4206, allocations: 75.28 kB / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of sort global known variables: time 3e-07/0.4206, allocations: 0 / 0.6838 GB, free: 12.94 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003681/0.421, allocations: 8 kB / 0.6838 GB, free: 12.93 MB / 494.1 MB 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 (1): * Single equations (assignments): 1 * 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.0003524/0.4213, allocations: 119.2 kB / 0.6839 GB, free: 12.8 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001271/0.4215, allocations: 7.984 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.4215, allocations: 0 / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.417e-05/0.4215, allocations: 4 kB / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000261/0.4218, allocations: 0 / 0.684 GB, free: 12.79 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003741/0.4222, allocations: 108.4 kB / 0.6841 GB, free: 12.65 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.4226, allocations: 0.6731 MB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.713e-05/0.4227, allocations: 7.438 kB / 0.6847 GB, free: 11.95 MB / 494.1 MB Notification: Performance of SimCode: time 3.4e-07/0.4227, allocations: 8.062 kB / 0.6847 GB, free: 11.94 MB / 494.1 MB Notification: Performance of Templates: time 0.003355/0.426, allocations: 466.2 kB / 0.6852 GB, free: 11.49 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPower.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.RegNonZeroPowerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1