Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001596, 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.001892/0.001892, allocations: 195.7 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.662/2.662, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003832/0.003832, allocations: 278.9 kB / 290.9 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 2.166/2.166, allocations: 169.2 MB / 0.4983 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003027/0.003027, allocations: 88.28 kB / 0.5951 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.327, allocations: 86.99 MB / 0.6801 GB, free: 1.18 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.005835/0.3329, allocations: 1.759 MB / 0.6818 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001354/0.3344, allocations: 0.5099 MB / 0.6823 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.3344, allocations: 7.875 kB / 0.6823 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.3351, allocations: 147.7 kB / 0.6824 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001195/0.3353, allocations: 43.8 kB / 0.6825 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000323/0.3356, allocations: 51.81 kB / 0.6825 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.336, allocations: 211.4 kB / 0.6827 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.158e-05/0.3361, allocations: 15.92 kB / 0.6828 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.652e-05/0.3362, allocations: 31.84 kB / 0.6828 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001715/0.3363, allocations: 67.69 kB / 0.6828 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.164e-05/0.3364, allocations: 4 kB / 0.6828 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003406/0.3367, allocations: 87.84 kB / 0.6829 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000118/0.3369, allocations: 51.81 kB / 0.683 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.337, allocations: 63.61 kB / 0.683 GB, free: 14.14 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003651/0.3374, allocations: 131.6 kB / 0.6832 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.3374, allocations: 0 / 0.6832 GB, free: 14.01 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.3374, allocations: 4 kB / 0.6832 GB, free: 14 MB / 494.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.3374, allocations: 4 kB / 0.6832 GB, free: 14 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.0008692/0.3383, allocations: 474.3 kB / 0.6836 GB, free: 13.49 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.3384, allocations: 12.03 kB / 0.6836 GB, free: 13.48 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.876e-05/0.3385, allocations: 24.66 kB / 0.6837 GB, free: 13.45 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002955/0.3388, allocations: 219.7 kB / 0.6839 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.41e-05/0.3388, allocations: 384 / 0.6839 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.3388, allocations: 384 / 0.6839 GB, free: 13.2 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/0.3392, allocations: 58.23 kB / 0.6839 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.3392, allocations: 7.938 kB / 0.6839 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3392, allocations: 4 kB / 0.6839 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3392, allocations: 0 / 0.6839 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002864/0.3395, allocations: 55.95 kB / 0.684 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008389/0.3404, allocations: 332.8 kB / 0.6843 GB, free: 12.7 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.3407, allocations: 74.42 kB / 0.6844 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001641/0.3408, allocations: 32.91 kB / 0.6844 GB, free: 12.58 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.367e-05/0.3409, allocations: 11.98 kB / 0.6844 GB, free: 12.57 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.341, allocations: 30.56 kB / 0.6845 GB, free: 12.53 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.974e-06/0.341, allocations: 0 / 0.6845 GB, free: 12.53 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0006555/0.3417, allocations: 137.4 kB / 0.6846 GB, free: 12.39 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.144e-05/0.3418, allocations: 55.41 kB / 0.6846 GB, free: 12.32 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004406/0.3422, allocations: 254.7 kB / 0.6849 GB, free: 12.07 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.057e-05/0.3423, allocations: 29.7 kB / 0.6849 GB, free: 12.04 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.3424, allocations: 128.1 kB / 0.685 GB, free: 11.91 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.916e-05/0.3425, allocations: 3.906 kB / 0.685 GB, free: 11.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.3426, allocations: 21.83 kB / 0.6851 GB, free: 11.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.3428, allocations: 330.8 kB / 0.6854 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.3429, allocations: 35.91 kB / 0.6854 GB, free: 11.51 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.3431, allocations: 31.98 kB / 0.6854 GB, free: 11.48 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000314/0.3434, allocations: 64.8 kB / 0.6855 GB, free: 11.41 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.3435, allocations: 8 kB / 0.6855 GB, free: 11.4 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000412/0.3439, allocations: 109.3 kB / 0.6856 GB, free: 11.29 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/0.3439, allocations: 7.938 kB / 0.6856 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.344, allocations: 4 kB / 0.6856 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.712e-05/0.344, allocations: 0 / 0.6856 GB, free: 11.28 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001592/0.3442, allocations: 7.984 kB / 0.6856 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.3442, allocations: 0 / 0.6856 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001218/0.3443, allocations: 7.984 kB / 0.6856 GB, free: 11.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.3444, allocations: 8.031 kB / 0.6856 GB, free: 11.25 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.0002281/0.3446, allocations: 135.1 kB / 0.6858 GB, free: 11.11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.3447, allocations: 15.81 kB / 0.6858 GB, free: 11.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004884/0.3452, allocations: 110.5 kB / 0.6859 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.3452, allocations: 4 kB / 0.6859 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.3453, allocations: 0 / 0.6859 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3453, allocations: 7.969 kB / 0.6859 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003946/0.3457, allocations: 221.5 kB / 0.6861 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.3457, allocations: 0 / 0.6861 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.007e-05/0.3458, allocations: 4 kB / 0.6861 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.3458, allocations: 4 kB / 0.6861 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.3458, allocations: 0 / 0.6861 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.362e-06/0.3458, allocations: 3.984 kB / 0.6861 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.3458, allocations: 0 / 0.6861 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004725/0.3463, allocations: 207.2 kB / 0.6863 GB, free: 10.47 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001107/0.3464, allocations: 88.92 kB / 0.6864 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.3465, allocations: 7.984 kB / 0.6864 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.3466, allocations: 3.984 kB / 0.6864 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.3467, allocations: 4 kB / 0.6864 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3467, allocations: 3.984 kB / 0.6864 GB, free: 10.34 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0003019/0.347, allocations: 186 kB / 0.6866 GB, free: 10.17 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3471, allocations: 4.031 kB / 0.6866 GB, free: 10.16 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005057/0.3476, allocations: 39.94 kB / 0.6866 GB, free: 10.12 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.0004806/0.3481, allocations: 139.1 kB / 0.6868 GB, free: 9.98 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003595/0.3484, allocations: 59.95 kB / 0.6868 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.3485, allocations: 0 / 0.6868 GB, free: 9.922 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001646/0.3486, allocations: 32.03 kB / 0.6869 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008528/0.3495, allocations: 45.78 kB / 0.6869 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.3506, allocations: 409.6 kB / 0.6873 GB, free: 9.414 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006186/0.3513, allocations: 0.7355 MB / 0.688 GB, free: 8.652 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.3513, allocations: 7.438 kB / 0.688 GB, free: 8.645 MB / 494.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3513, allocations: 0 / 0.688 GB, free: 8.645 MB / 494.1 MB Notification: Performance of Templates: time 0.00764/0.359, allocations: 1.837 MB / 0.6898 GB, free: 6.828 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.HAM.HeatAndMoistureTransport.Functions.Examples.wSorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSorCalcHelperMain.o] Error 1