Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008102/0.0008101, allocations: 92.16 kB / 16.02 MB, free: 80 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.0009403/0.0009403, allocations: 173 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001665/0.001665, allocations: 267.1 kB / 292.3 MB, free: 1.855 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9271/0.9271, allocations: 169.5 MB / 0.501 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004226/0.0004226, allocations: 15.25 kB / 0.5993 GB, free: 28.2 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1666, allocations: 88.54 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.001185/0.1678, allocations: 0.9803 MB / 0.6867 GB, free: 14.09 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1691, allocations: 0.8668 MB / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.519e-05/0.1691, allocations: 0 / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.522e-05/0.1691, allocations: 1.875 kB / 0.6876 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.208e-05/0.1692, allocations: 7.984 kB / 0.6876 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003699/0.1696, allocations: 108.3 kB / 0.6877 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.992e-05/0.1696, allocations: 24.94 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.017e-05/0.1697, allocations: 3.984 kB / 0.6877 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.893e-05/0.1698, allocations: 17.58 kB / 0.6877 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.1698, allocations: 15.92 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.24e-05/0.1699, allocations: 3.938 kB / 0.6877 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002672/0.1701, allocations: 159.8 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1701, allocations: 0.75 kB / 0.6879 GB, free: 12.89 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.1702, allocations: 37.62 kB / 0.6879 GB, free: 12.85 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001514/0.1704, allocations: 88.72 kB / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.1704, allocations: 0 / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1704, allocations: 2.656 kB / 0.688 GB, free: 12.77 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1704, allocations: 0 / 0.688 GB, free: 12.77 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000386/0.1708, allocations: 351.4 kB / 0.6884 GB, free: 12.38 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.1708, allocations: 8.031 kB / 0.6884 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.1708, allocations: 4.938 kB / 0.6884 GB, free: 12.36 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/0.171, allocations: 170.1 kB / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.171, allocations: 384 / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.171, allocations: 4.375 kB / 0.6885 GB, free: 12.16 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.1711, allocations: 46 kB / 0.6886 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.1711, allocations: 0 / 0.6886 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.1712, allocations: 5.719 kB / 0.6886 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1712, allocations: 0 / 0.6886 GB, free: 12.1 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.066e-05/0.1712, allocations: 23.97 kB / 0.6886 GB, free: 12.08 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001704/0.1714, allocations: 166.6 kB / 0.6888 GB, free: 11.87 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.675e-05/0.1715, allocations: 42.5 kB / 0.6888 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.06e-05/0.1715, allocations: 17.7 kB / 0.6888 GB, free: 11.8 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.1717, allocations: 86.5 kB / 0.6889 GB, free: 11.7 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.82e-05/0.1717, allocations: 38.5 kB / 0.6889 GB, free: 11.65 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1717, allocations: 0.6562 kB / 0.6889 GB, free: 11.65 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001834/0.1719, allocations: 61.69 kB / 0.689 GB, free: 11.58 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1719, allocations: 52.03 kB / 0.689 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.366e-05/0.172, allocations: 97.86 kB / 0.6891 GB, free: 11.41 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.172, allocations: 33.64 kB / 0.6892 GB, free: 11.38 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4e-05/0.1721, allocations: 84.12 kB / 0.6893 GB, free: 11.29 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.1721, allocations: 11.75 kB / 0.6893 GB, free: 11.28 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.65e-05/0.1722, allocations: 17.72 kB / 0.6893 GB, free: 11.25 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.1723, allocations: 314.8 kB / 0.6896 GB, free: 10.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.268e-05/0.1723, allocations: 11.98 kB / 0.6896 GB, free: 10.93 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.1723, allocations: 4 kB / 0.6896 GB, free: 10.92 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.137e-05/0.1724, allocations: 33.36 kB / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.1724, allocations: 0 / 0.6896 GB, free: 10.89 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001083/0.1725, allocations: 57.59 kB / 0.6897 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1725, allocations: 11.94 kB / 0.6897 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1725, allocations: 0 / 0.6897 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1725, allocations: 0 / 0.6897 GB, free: 10.81 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.905e-05/0.1726, allocations: 15.92 kB / 0.6897 GB, free: 10.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.6e-06/0.1726, allocations: 3.938 kB / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.452e-05/0.1727, allocations: 4 kB / 0.6897 GB, free: 10.79 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.373e-06/0.1727, allocations: 7.938 kB / 0.6897 GB, free: 10.78 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 (5): * Single equations (assignments): 5 * 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 7.321e-05/0.1728, allocations: 111.2 kB / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.1728, allocations: 3.938 kB / 0.6898 GB, free: 10.66 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001905/0.173, allocations: 77.23 kB / 0.6899 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.173, allocations: 0 / 0.6899 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.173, allocations: 0 / 0.6899 GB, free: 10.58 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.173, allocations: 11.94 kB / 0.6899 GB, free: 10.57 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.1731, allocations: 165.6 kB / 0.6901 GB, free: 10.36 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.1731, allocations: 4 kB / 0.6901 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.307e-05/0.1732, allocations: 8 kB / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.1732, allocations: 3.938 kB / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.1732, allocations: 0 / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.1732, allocations: 0 / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1732, allocations: 4 kB / 0.6901 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000111/0.1733, allocations: 85.11 kB / 0.6902 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5e-05/0.1734, allocations: 89.05 kB / 0.6903 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.1734, allocations: 0 / 0.6903 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.1734, allocations: 192 / 0.6903 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.1735, allocations: 7.938 kB / 0.6903 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.829e-06/0.1735, allocations: 4 kB / 0.6903 GB, free: 10.12 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.352e-05/0.1735, allocations: 83.27 kB / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1735, allocations: 0 / 0.6904 GB, free: 10.04 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002361/0.1738, allocations: 47.94 kB / 0.6904 GB, free: 9.988 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.0002564/0.174, allocations: 159.2 kB / 0.6906 GB, free: 9.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.799e-05/0.1741, allocations: 28 kB / 0.6906 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1741, allocations: 0 / 0.6906 GB, free: 9.793 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.846e-05/0.1742, allocations: 19.92 kB / 0.6906 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000145/0.1743, allocations: 4 kB / 0.6906 GB, free: 9.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003006/0.1746, allocations: 170.2 kB / 0.6908 GB, free: 9.57 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.1749, allocations: 0.6809 MB / 0.6914 GB, free: 8.863 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.834e-05/0.1749, allocations: 15.44 kB / 0.6914 GB, free: 8.848 MB / 494.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1749, allocations: 0 / 0.6914 GB, free: 8.848 MB / 494.1 MB Notification: Performance of Templates: time 0.002559/0.1775, allocations: 1.188 MB / 0.6926 GB, free: 7.664 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.ConvectiveHeatTransfer.Examples.AlphaGapCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGapCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGapCalcHelperMain.o] Error 1