Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") translateModel(BuildingSystems.Utilities.Math.Examples.VectorFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01499/0.01499, 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.003554/0.003554, 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.696/2.696, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.004467/0.004468, allocations: 282.3 kB / 290.9 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.964/1.964, allocations: 169.2 MB / 0.4984 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002862/0.002863, allocations: 96.73 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3787, allocations: 86.99 MB / 0.6801 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.VectorFunctions): time 0.005422/0.3842, allocations: 1.647 MB / 0.6817 GB, free: 15.54 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001447/0.3857, allocations: 0.4993 MB / 0.6822 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.3858, allocations: 4 kB / 0.6822 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001771/0.3861, allocations: 3.938 kB / 0.6822 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.548e-05/0.3861, allocations: 16.36 kB / 0.6822 GB, free: 15.02 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.3865, allocations: 28.59 kB / 0.6822 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.3867, allocations: 83.7 kB / 0.6823 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.387, allocations: 40.47 kB / 0.6823 GB, free: 14.86 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.3872, allocations: 39.86 kB / 0.6824 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.3873, allocations: 43.77 kB / 0.6824 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.3873, allocations: 4 kB / 0.6824 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001127/0.3875, allocations: 11.98 kB / 0.6824 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001085/0.3876, allocations: 23.92 kB / 0.6825 GB, free: 14.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.406e-05/0.3877, allocations: 27.81 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.3879, allocations: 67.83 kB / 0.6826 GB, free: 14.65 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.3879, allocations: 3.938 kB / 0.6826 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.452e-06/0.3879, allocations: 4 kB / 0.6826 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.325e-06/0.3879, allocations: 0 / 0.6826 GB, free: 14.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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0009243/0.3889, allocations: 395.2 kB / 0.6829 GB, free: 14.21 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/0.3889, allocations: 12.02 kB / 0.683 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.65e-05/0.389, allocations: 16.75 kB / 0.683 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3893, allocations: 190.2 kB / 0.6831 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.821e-05/0.3894, allocations: 4.375 kB / 0.6832 GB, free: 13.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.3894, allocations: 12.36 kB / 0.6832 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003723/0.3898, allocations: 105.9 kB / 0.6833 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3898, allocations: 4 kB / 0.6833 GB, free: 13.83 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.3899, allocations: 4 kB / 0.6833 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.3899, allocations: 4 kB / 0.6833 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003578/0.3902, allocations: 95.92 kB / 0.6834 GB, free: 13.73 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009878/0.3912, allocations: 380.5 kB / 0.6837 GB, free: 13.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.3915, allocations: 62.55 kB / 0.6838 GB, free: 13.23 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.3916, allocations: 44.95 kB / 0.6838 GB, free: 13.19 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.631e-05/0.3917, allocations: 4 kB / 0.6838 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.231e-05/0.3918, allocations: 42.5 kB / 0.6839 GB, free: 13.13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.823e-06/0.3918, allocations: 0 / 0.6839 GB, free: 13.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0006927/0.3925, allocations: 161.5 kB / 0.684 GB, free: 12.97 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.775e-05/0.3925, allocations: 55.41 kB / 0.6841 GB, free: 12.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002219/0.3928, allocations: 133.7 kB / 0.6842 GB, free: 12.76 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.3928, allocations: 33.64 kB / 0.6842 GB, free: 12.72 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002427/0.3931, allocations: 108.1 kB / 0.6843 GB, free: 12.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.3931, allocations: 15.81 kB / 0.6844 GB, free: 12.6 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.3932, allocations: 21.7 kB / 0.6844 GB, free: 12.57 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003478/0.3935, allocations: 322.8 kB / 0.6847 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001469/0.3937, allocations: 35.97 kB / 0.6847 GB, free: 12.21 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.3939, allocations: 48.16 kB / 0.6848 GB, free: 12.16 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.3942, allocations: 92.75 kB / 0.6849 GB, free: 12.07 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.3942, allocations: 0 / 0.6849 GB, free: 12.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003706/0.3946, allocations: 125.5 kB / 0.685 GB, free: 11.94 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.3946, allocations: 5.875 kB / 0.685 GB, free: 11.94 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.081e-05/0.3946, allocations: 4 kB / 0.685 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.3947, allocations: 0 / 0.685 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001883/0.3949, allocations: 23.92 kB / 0.685 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.417e-06/0.3949, allocations: 0 / 0.685 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.07e-05/0.395, allocations: 7.984 kB / 0.685 GB, free: 11.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.907e-05/0.395, allocations: 4 kB / 0.685 GB, free: 11.9 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 (6): * Single equations (assignments): 6 * 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.0001519/0.3952, allocations: 123.1 kB / 0.6851 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.369e-05/0.3952, allocations: 7.906 kB / 0.6851 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005108/0.3957, allocations: 154.2 kB / 0.6853 GB, free: 11.61 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.3958, allocations: 3.938 kB / 0.6853 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.3958, allocations: 0 / 0.6853 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3958, allocations: 0 / 0.6853 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003478/0.3961, allocations: 205.6 kB / 0.6855 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.718e-06/0.3962, allocations: 4 kB / 0.6855 GB, free: 11.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.3963, allocations: 19.92 kB / 0.6855 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.3963, allocations: 0 / 0.6855 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.905e-05/0.3963, allocations: 4 kB / 0.6855 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.3964, allocations: 8.172 kB / 0.6855 GB, free: 11.32 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.3964, allocations: 4 kB / 0.6855 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006314/0.397, allocations: 219.4 kB / 0.6857 GB, free: 11.08 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001965/0.3972, allocations: 85 kB / 0.6858 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.038e-05/0.3973, allocations: 8 kB / 0.6858 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.3974, allocations: 7.938 kB / 0.6858 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.765e-05/0.3975, allocations: 11.98 kB / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.42e-05/0.3975, allocations: 0 / 0.6858 GB, free: 10.95 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001041/0.3976, allocations: 111.2 kB / 0.686 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3977, allocations: 0 / 0.686 GB, free: 10.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003863/0.3981, allocations: 12 kB / 0.686 GB, free: 10.83 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 (6): * Single equations (assignments): 6 * 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.0003903/0.3985, allocations: 103.2 kB / 0.6861 GB, free: 10.72 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003862/0.3988, allocations: 95.94 kB / 0.6862 GB, free: 10.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3989, allocations: 4 kB / 0.6862 GB, free: 10.62 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001663/0.399, allocations: 55.95 kB / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.3994, allocations: 0 / 0.6862 GB, free: 10.57 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007634/0.4002, allocations: 274.5 kB / 0.6865 GB, free: 10.27 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004642/0.4007, allocations: 0.7024 MB / 0.6872 GB, free: 9.547 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.4007, allocations: 15.42 kB / 0.6872 GB, free: 9.531 MB / 494.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4007, allocations: 0 / 0.6872 GB, free: 9.531 MB / 494.1 MB Notification: Performance of Templates: time 0.005322/0.4061, allocations: 1.119 MB / 0.6883 GB, free: 8.414 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctions.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.VectorFunctionsCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Math.Examples.VectorFunctionsCalcHelperMain.o] Error 1