Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001744/0.001744, 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.003448/0.003448, allocations: 195.9 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.506/2.506, allocations: 222.9 MB / 240.5 MB, free: 4.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003093/0.003094, allocations: 290.8 kB / 290.9 MB, free: 2.059 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.839/1.839, allocations: 169.2 MB / 0.4983 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002614/0.002614, allocations: 104.2 kB / 0.5952 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3421/0.3447, allocations: 86.98 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic): time 0.00328/0.3481, allocations: 0.649 MB / 0.6807 GB, free: 0.5195 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005321/0.3487, allocations: 79.72 kB / 0.6808 GB, free: 452 kB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.071e-05/0.3487, allocations: 0.7812 kB / 0.6808 GB, free: 452 kB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.3488, allocations: 0 / 0.6808 GB, free: 452 kB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 7.079e-05/0.3488, allocations: 9.234 kB / 0.6808 GB, free: 444 kB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.3492, allocations: 39.95 kB / 0.6809 GB, free: 404 kB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002432/0.3495, allocations: 25.83 kB / 0.6809 GB, free: 380 kB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.525e-05/0.3496, allocations: 7.984 kB / 0.6809 GB, free: 372 kB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.165e-05/0.3496, allocations: 11.98 kB / 0.6809 GB, free: 360 kB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003117/0.3499, allocations: 67.86 kB / 0.681 GB, free: 292 kB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.217e-05/0.35, allocations: 0 / 0.681 GB, free: 292 kB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001501/0.3501, allocations: 43.97 kB / 0.681 GB, free: 248 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.404e-05/0.3502, allocations: 20.03 kB / 0.681 GB, free: 228 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.274e-05/0.3503, allocations: 23.81 kB / 0.681 GB, free: 204 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001507/0.3504, allocations: 43.92 kB / 0.6811 GB, free: 160 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3505, allocations: 0 / 0.6811 GB, free: 160 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.3505, allocations: 0 / 0.6811 GB, free: 160 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3505, allocations: 3.938 kB / 0.6811 GB, free: 156 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005745/0.3511, allocations: 351.8 kB / 0.6814 GB, free: 15.76 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.3511, allocations: 8.031 kB / 0.6814 GB, free: 15.75 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.765e-05/0.3512, allocations: 20.83 kB / 0.6815 GB, free: 15.73 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.3514, allocations: 172.3 kB / 0.6816 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.3514, allocations: 4.359 kB / 0.6816 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.3514, allocations: 4.375 kB / 0.6816 GB, free: 15.52 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003683/0.3518, allocations: 175.4 kB / 0.6818 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.3518, allocations: 4 kB / 0.6818 GB, free: 15.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.048e-05/0.3519, allocations: 8 kB / 0.6818 GB, free: 15.31 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/0.352, allocations: 19.98 kB / 0.6818 GB, free: 15.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001069/0.3521, allocations: 39.84 kB / 0.6819 GB, free: 15.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00123/0.3533, allocations: 0.8945 MB / 0.6827 GB, free: 14.29 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002693/0.3536, allocations: 177.1 kB / 0.6829 GB, free: 14.1 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.391e-05/0.3537, allocations: 84.14 kB / 0.683 GB, free: 14.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.173e-05/0.3537, allocations: 75.28 kB / 0.6831 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.055e-05/0.3538, allocations: 109.8 kB / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.543e-06/0.3538, allocations: 0 / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001335/0.354, allocations: 41.55 kB / 0.6832 GB, free: 13.78 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002842/0.3543, allocations: 387.7 kB / 0.6836 GB, free: 13.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3545, allocations: 167.5 kB / 0.6837 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.3545, allocations: 33.64 kB / 0.6838 GB, free: 13.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001446/0.3547, allocations: 147.1 kB / 0.6839 GB, free: 12.96 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.063e-05/0.3547, allocations: 11.98 kB / 0.6839 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.3548, allocations: 53.61 kB / 0.684 GB, free: 12.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002159/0.3551, allocations: 322.8 kB / 0.6843 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.778e-05/0.3551, allocations: 27.97 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003397/0.3555, allocations: 219.5 kB / 0.6845 GB, free: 12.23 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003396/0.3558, allocations: 193.8 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.3559, allocations: 4 kB / 0.6847 GB, free: 11.98 MB / 494.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006376/0.3565, allocations: 185.2 kB / 0.6849 GB, free: 11.79 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.427e-05/0.3566, allocations: 10.84 kB / 0.6849 GB, free: 11.78 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.3566, allocations: 7.938 kB / 0.6849 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/0.3566, allocations: 15.94 kB / 0.6849 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.3568, allocations: 39.92 kB / 0.6849 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.876e-05/0.3568, allocations: 4 kB / 0.6849 GB, free: 11.71 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001481/0.357, allocations: 31.69 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.357, allocations: 8 kB / 0.685 GB, free: 11.68 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (21): * Single equations (assignments): 21 * 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.0002316/0.3573, allocations: 218.3 kB / 0.6852 GB, free: 11.45 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/0.3574, allocations: 116.8 kB / 0.6853 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.3575, allocations: 121 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000106/0.3576, allocations: 188.2 kB / 0.6856 GB, free: 11.01 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001098/0.3577, allocations: 180.2 kB / 0.6858 GB, free: 10.83 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000124/0.3579, allocations: 180.2 kB / 0.6859 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004565/0.3583, allocations: 421.2 kB / 0.6863 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-05/0.3584, allocations: 101 kB / 0.6864 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.9e-05/0.3585, allocations: 109 kB / 0.6865 GB, free: 9.957 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001164/0.3586, allocations: 188.2 kB / 0.6867 GB, free: 9.766 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001323/0.3588, allocations: 176.3 kB / 0.6869 GB, free: 9.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001266/0.3589, allocations: 188.1 kB / 0.6871 GB, free: 9.395 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001295/0.359, allocations: 176.8 kB / 0.6872 GB, free: 9.215 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.3593, allocations: 319.7 kB / 0.6875 GB, free: 8.879 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.3594, allocations: 186 kB / 0.6877 GB, free: 8.672 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.3596, allocations: 184.5 kB / 0.6879 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001685/0.3597, allocations: 112.9 kB / 0.688 GB, free: 8.367 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.3599, allocations: 188.2 kB / 0.6882 GB, free: 8.176 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.245e-05/0.36, allocations: 113 kB / 0.6883 GB, free: 8.059 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001302/0.3601, allocations: 120.5 kB / 0.6884 GB, free: 7.941 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3601, allocations: 0 / 0.6884 GB, free: 7.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005791/0.3607, allocations: 24 kB / 0.6884 GB, free: 7.918 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 (0): * Single equations (assignments): 0 * 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.0003528/0.3611, allocations: 186.5 kB / 0.6886 GB, free: 7.727 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002461/0.3614, allocations: 80.14 kB / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3614, allocations: 0 / 0.6887 GB, free: 7.648 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.3614, allocations: 3.938 kB / 0.6887 GB, free: 7.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007264/0.3621, allocations: 0.5273 MB / 0.6892 GB, free: 7.113 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.3627, allocations: 272.3 kB / 0.6895 GB, free: 6.816 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005079/0.3633, allocations: 0.6932 MB / 0.6901 GB, free: 6.098 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.398e-05/0.3633, allocations: 15.44 kB / 0.6902 GB, free: 6.086 MB / 494.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3633, allocations: 0 / 0.6902 GB, free: 6.086 MB / 494.1 MB Notification: Performance of Templates: time 0.005762/0.3691, allocations: 1.703 MB / 0.6918 GB, free: 4.402 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonic.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.IsMonotonicCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonicCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.IsMonotonicCalcHelperMain.o] Error 1