Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") translateModel(BuildingSystems.Utilities.Time.Examples.ModelTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0018/0.0018, 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.002582/0.002582, allocations: 197.1 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.771/2.771, allocations: 222.9 MB / 240.5 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003874/0.003874, allocations: 282.5 kB / 290.9 MB, free: 2.227 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.875/1.875, allocations: 169.2 MB / 0.4984 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00258/0.002581, allocations: 88.23 kB / 0.5951 GB, free: 28.46 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4315, allocations: 86.98 MB / 0.6801 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.003568/0.4352, allocations: 0.6481 MB / 0.6807 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 7.923e-05/0.4353, allocations: 8 kB / 0.6807 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.253e-05/0.4353, allocations: 1.062 kB / 0.6807 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 5.646e-05/0.4354, allocations: 0 / 0.6807 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 8.646e-06/0.4354, allocations: 0 / 0.6807 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.702e-05/0.4355, allocations: 0.5625 kB / 0.6807 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.95e-05/0.4356, allocations: 0 / 0.6807 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.4357, allocations: 12.7 kB / 0.6807 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.068e-05/0.4358, allocations: 1.969 kB / 0.6807 GB, free: 0.5391 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.72e-05/0.4358, allocations: 3.984 kB / 0.6807 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.4359, allocations: 0 / 0.6807 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.584e-06/0.4359, allocations: 0 / 0.6807 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.663e-05/0.4359, allocations: 0 / 0.6807 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.59e-05/0.436, allocations: 0 / 0.6807 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 8.978e-05/0.4361, allocations: 4.625 kB / 0.6807 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.488e-06/0.4361, allocations: 0 / 0.6807 GB, free: 0.5312 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.475e-06/0.4361, allocations: 4 kB / 0.6807 GB, free: 0.5273 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.095e-06/0.4361, allocations: 4 kB / 0.6807 GB, free: 0.5234 MB / 478.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.0007059/0.4369, allocations: 311.5 kB / 0.681 GB, free: 172 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.633e-05/0.437, allocations: 16.03 kB / 0.6811 GB, free: 156 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.437, allocations: 4.922 kB / 0.6811 GB, free: 152 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.4373, allocations: 160.4 kB / 0.6812 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.244e-05/0.4373, allocations: 384 / 0.6812 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.441e-05/0.4373, allocations: 384 / 0.6812 GB, free: 15.95 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.4375, allocations: 34.27 kB / 0.6813 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.4376, allocations: 192 / 0.6813 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.4376, allocations: 3.938 kB / 0.6813 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.4376, allocations: 0 / 0.6813 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.045e-05/0.4376, allocations: 3.984 kB / 0.6813 GB, free: 15.91 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003072/0.438, allocations: 149.7 kB / 0.6814 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.4381, allocations: 22.55 kB / 0.6814 GB, free: 15.68 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.321e-05/0.4381, allocations: 4.859 kB / 0.6814 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.4382, allocations: 8.062 kB / 0.6814 GB, free: 15.66 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/0.4382, allocations: 38.5 kB / 0.6815 GB, free: 15.62 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.4383, allocations: 0 / 0.6815 GB, free: 15.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002597/0.4385, allocations: 33.64 kB / 0.6815 GB, free: 15.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.4386, allocations: 55.34 kB / 0.6816 GB, free: 15.51 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.094e-05/0.4387, allocations: 89.86 kB / 0.6816 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.372e-05/0.4388, allocations: 25.7 kB / 0.6817 GB, free: 15.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.494e-05/0.4389, allocations: 84.27 kB / 0.6817 GB, free: 15.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.324e-05/0.439, allocations: 8.219 kB / 0.6818 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.833e-05/0.439, allocations: 17.7 kB / 0.6818 GB, free: 15.27 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002901/0.4393, allocations: 310.8 kB / 0.6821 GB, free: 14.95 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.404e-05/0.4393, allocations: 0 / 0.6821 GB, free: 14.95 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.457e-05/0.4394, allocations: 4 kB / 0.6821 GB, free: 14.95 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.233e-05/0.4394, allocations: 4.859 kB / 0.6821 GB, free: 14.94 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.4394, allocations: 0 / 0.6821 GB, free: 14.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.062e-05/0.4395, allocations: 41.77 kB / 0.6821 GB, free: 14.89 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.191e-05/0.4396, allocations: 4 kB / 0.6821 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.4396, allocations: 3.938 kB / 0.6821 GB, free: 14.89 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/0.4396, allocations: 3.938 kB / 0.6821 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001091/0.4397, allocations: 7.984 kB / 0.6821 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.4398, allocations: 0 / 0.6821 GB, free: 14.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.966e-05/0.4398, allocations: 4 kB / 0.6821 GB, free: 14.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.4398, allocations: 0 / 0.6821 GB, free: 14.87 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.0001767/0.44, allocations: 107.2 kB / 0.6822 GB, free: 14.76 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.926e-06/0.44, allocations: 4 kB / 0.6822 GB, free: 14.75 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.4401, allocations: 11.06 kB / 0.6823 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.4401, allocations: 0 / 0.6823 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/0.4401, allocations: 0 / 0.6823 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.4401, allocations: 3.938 kB / 0.6823 GB, free: 14.74 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000233/0.4403, allocations: 145.7 kB / 0.6824 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4404, allocations: 0 / 0.6824 GB, free: 14.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.512e-05/0.4404, allocations: 4 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4404, allocations: 0 / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.534e-05/0.4404, allocations: 3.938 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4404, allocations: 4 kB / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.4405, allocations: 0 / 0.6824 GB, free: 14.54 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001304/0.4406, allocations: 61.08 kB / 0.6825 GB, free: 14.46 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.917e-05/0.4407, allocations: 85.03 kB / 0.6825 GB, free: 14.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.4407, allocations: 3.938 kB / 0.6826 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.4407, allocations: 0 / 0.6826 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.672e-05/0.4407, allocations: 0 / 0.6826 GB, free: 14.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.4408, allocations: 32 / 0.6826 GB, free: 14.35 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.69e-05/0.4408, allocations: 79.28 kB / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4408, allocations: 0 / 0.6826 GB, free: 14.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000271/0.4411, allocations: 4 kB / 0.6826 GB, free: 14.27 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.0002231/0.4413, allocations: 91.25 kB / 0.6827 GB, free: 14.17 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.4415, allocations: 8 kB / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.4415, allocations: 0 / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.166e-05/0.4415, allocations: 4 kB / 0.6827 GB, free: 14.16 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.4417, allocations: 8.109 kB / 0.6827 GB, free: 14.15 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.4422, allocations: 104.3 kB / 0.6828 GB, free: 14.01 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/0.4428, allocations: 0.6731 MB / 0.6835 GB, free: 13.31 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.207e-05/0.4429, allocations: 7.438 kB / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4429, allocations: 0 / 0.6835 GB, free: 13.3 MB / 494.1 MB Notification: Performance of Templates: time 0.002591/0.4455, allocations: 323.9 kB / 0.6838 GB, free: 12.99 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.Time.Examples.ModelTimeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTimeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTimeCalcHelperMain.o] Error 1