Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0174/0.0174, allocations: 100.3 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.003687/0.003687, allocations: 190.2 kB / 16.79 MB, free: 5.805 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.814/2.814, allocations: 222.9 MB / 240.5 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003449/0.003449, allocations: 286.6 kB / 290.9 MB, free: 2.203 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.856/1.856, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003519/0.00352, allocations: 90.84 kB / 0.5951 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3853, allocations: 86.98 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.00665/0.3921, allocations: 1.501 MB / 0.6815 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001735/0.394, allocations: 412.1 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.3941, allocations: 0.625 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.686e-05/0.3942, allocations: 0.7188 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.101e-05/0.3943, allocations: 7.922 kB / 0.6819 GB, free: 15.24 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000777/0.3951, allocations: 81.91 kB / 0.682 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3952, allocations: 23.88 kB / 0.682 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002153/0.3955, allocations: 7.984 kB / 0.6821 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.44e-05/0.3956, allocations: 8 kB / 0.6821 GB, free: 15.13 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.264e-05/0.3957, allocations: 15.92 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.156e-05/0.3957, allocations: 4 kB / 0.6821 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007081/0.3964, allocations: 267.7 kB / 0.6823 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.3965, allocations: 7.984 kB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.829e-05/0.3966, allocations: 7.938 kB / 0.6823 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000317/0.3969, allocations: 76.14 kB / 0.6824 GB, free: 14.76 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.091e-05/0.3969, allocations: 3.938 kB / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3969, allocations: 4 kB / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.717e-06/0.3969, allocations: 0 / 0.6824 GB, free: 14.75 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0009361/0.3979, allocations: 363.4 kB / 0.6828 GB, free: 14.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.929e-05/0.398, allocations: 15.97 kB / 0.6828 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.3981, allocations: 0.9375 kB / 0.6828 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.3984, allocations: 172.3 kB / 0.683 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3985, allocations: 384 / 0.683 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.095e-05/0.3985, allocations: 384 / 0.683 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003324/0.3988, allocations: 50.23 kB / 0.683 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.751e-05/0.3989, allocations: 192 / 0.683 GB, free: 14.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.191e-05/0.3989, allocations: 3.938 kB / 0.683 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.3989, allocations: 4 kB / 0.683 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.3992, allocations: 31.97 kB / 0.683 GB, free: 14.03 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008186/0.4001, allocations: 260.8 kB / 0.6833 GB, free: 13.72 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000265/0.4003, allocations: 38.5 kB / 0.6833 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.4006, allocations: 28.89 kB / 0.6834 GB, free: 13.64 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/0.4021, allocations: 453.5 kB / 0.6838 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.241e-05/0.4022, allocations: 38.56 kB / 0.6838 GB, free: 13.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 2.955e-06/0.4022, allocations: 0 / 0.6838 GB, free: 13.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000729/0.403, allocations: 85.58 kB / 0.6839 GB, free: 12.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.403, allocations: 51.41 kB / 0.684 GB, free: 12.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.4032, allocations: 105.8 kB / 0.6841 GB, free: 12.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.4032, allocations: 25.7 kB / 0.6841 GB, free: 12.77 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.968e-05/0.4033, allocations: 88.27 kB / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.4034, allocations: 3.906 kB / 0.6842 GB, free: 12.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.743e-05/0.4035, allocations: 17.7 kB / 0.6842 GB, free: 12.65 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4037, allocations: 314.8 kB / 0.6845 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.4038, allocations: 15.98 kB / 0.6845 GB, free: 12.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.404, allocations: 15.98 kB / 0.6845 GB, free: 12.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.4043, allocations: 44.88 kB / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4043, allocations: 3.938 kB / 0.6846 GB, free: 12.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003939/0.4047, allocations: 69.55 kB / 0.6846 GB, free: 12.18 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.4047, allocations: 7.984 kB / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.4047, allocations: 0 / 0.6846 GB, free: 12.17 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.749e-05/0.4048, allocations: 4 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001405/0.4049, allocations: 4 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.405, allocations: 4.281 kB / 0.6846 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.146e-05/0.4051, allocations: 7.984 kB / 0.6847 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4051, allocations: 4 kB / 0.6847 GB, free: 12.14 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 (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 0.0001584/0.4053, allocations: 119.1 kB / 0.6848 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.686e-05/0.4053, allocations: 3.906 kB / 0.6848 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004224/0.4058, allocations: 85.11 kB / 0.6849 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.4058, allocations: 0 / 0.6849 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.4058, allocations: 0 / 0.6849 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4058, allocations: 3.984 kB / 0.6849 GB, free: 11.92 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002826/0.4061, allocations: 165.5 kB / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.4061, allocations: 0 / 0.685 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.962e-05/0.4062, allocations: 7.984 kB / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.4063, allocations: 0 / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4063, allocations: 4 kB / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4063, allocations: 0 / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.4063, allocations: 0 / 0.685 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004397/0.4068, allocations: 167.5 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/0.4069, allocations: 81.02 kB / 0.6853 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.4069, allocations: 4 kB / 0.6853 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.407, allocations: 3.984 kB / 0.6853 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.4071, allocations: 7.938 kB / 0.6853 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.29e-06/0.4071, allocations: 4.031 kB / 0.6853 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.013e-05/0.4072, allocations: 87.27 kB / 0.6854 GB, free: 11.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4072, allocations: 0 / 0.6854 GB, free: 11.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004348/0.4077, allocations: 12 kB / 0.6854 GB, free: 11.3 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 (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.0003488/0.408, allocations: 119.2 kB / 0.6855 GB, free: 11.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003507/0.4084, allocations: 35.97 kB / 0.6855 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4084, allocations: 4.062 kB / 0.6855 GB, free: 11.14 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001397/0.4086, allocations: 15.98 kB / 0.6856 GB, free: 11.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006098/0.4092, allocations: 18.25 kB / 0.6856 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005209/0.4097, allocations: 145 kB / 0.6857 GB, free: 10.94 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.4102, allocations: 0.6731 MB / 0.6864 GB, free: 10.24 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.4102, allocations: 15.5 kB / 0.6864 GB, free: 10.22 MB / 494.1 MB Notification: Performance of SimCode: time 5.81e-07/0.4102, allocations: 0 / 0.6864 GB, free: 10.22 MB / 494.1 MB Notification: Performance of Templates: time 0.003557/0.4138, allocations: 0.6987 MB / 0.6871 GB, free: 9.527 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.RegNonZeroPowerCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPowerCalcHelperMain.o] Error 1