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.01631/0.01631, allocations: 100.8 kB / 15.87 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.002988/0.002988, allocations: 192.1 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.063/2.063, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003222/0.003222, allocations: 282.4 kB / 290.9 MB, free: 2.188 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.857/1.857, allocations: 169.2 MB / 0.4984 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003173/0.003173, allocations: 89.38 kB / 0.5951 GB, free: 28.38 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3635/0.3667, allocations: 86.98 MB / 0.6801 GB, free: 1.164 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.006556/0.3734, allocations: 1.306 MB / 0.6813 GB, free: 15.86 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003069/0.3765, allocations: 0.8907 MB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.372e-05/0.3766, allocations: 4 kB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.728e-05/0.3767, allocations: 3.938 kB / 0.6822 GB, free: 14.96 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.865e-05/0.3768, allocations: 4 kB / 0.6822 GB, free: 14.95 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009404/0.3778, allocations: 111.7 kB / 0.6823 GB, free: 14.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.3779, allocations: 23.92 kB / 0.6824 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.378, allocations: 0 / 0.6824 GB, free: 14.82 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001935/0.3782, allocations: 19.91 kB / 0.6824 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001648/0.3784, allocations: 15.94 kB / 0.6824 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.646e-05/0.3785, allocations: 0 / 0.6824 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006573/0.3791, allocations: 159.8 kB / 0.6825 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.192e-05/0.3792, allocations: 11.92 kB / 0.6825 GB, free: 14.62 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.239e-05/0.3793, allocations: 8 kB / 0.6826 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.3797, allocations: 96.03 kB / 0.6826 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.3798, allocations: 0 / 0.6826 GB, free: 14.52 MB / 494.1 MB Notification: Performance of FrontEnd: time 5.551e-06/0.3798, allocations: 0 / 0.6826 GB, free: 14.52 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.041e-05/0.3798, allocations: 0 / 0.6826 GB, free: 14.52 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.0009014/0.3807, allocations: 347.5 kB / 0.683 GB, free: 14.13 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.000116/0.3808, allocations: 12.03 kB / 0.683 GB, free: 14.12 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.381, allocations: 12.84 kB / 0.683 GB, free: 14.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004198/0.3814, allocations: 164.4 kB / 0.6832 GB, free: 13.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.014e-05/0.3815, allocations: 4.375 kB / 0.6832 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.798e-05/0.3815, allocations: 384 / 0.6832 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003085/0.3818, allocations: 49.94 kB / 0.6832 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.3819, allocations: 0 / 0.6832 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.79e-05/0.3819, allocations: 0 / 0.6832 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/0.3819, allocations: 0 / 0.6832 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001372/0.3821, allocations: 27.97 kB / 0.6832 GB, free: 13.82 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.3824, allocations: 165.7 kB / 0.6834 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.3826, allocations: 34.56 kB / 0.6834 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.793e-05/0.3827, allocations: 16.86 kB / 0.6834 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000296/0.3831, allocations: 89.23 kB / 0.6835 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/0.3831, allocations: 42.42 kB / 0.6836 GB, free: 13.39 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 3.487e-06/0.3831, allocations: 0 / 0.6836 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004442/0.3836, allocations: 61.69 kB / 0.6836 GB, free: 13.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.3837, allocations: 55.41 kB / 0.6837 GB, free: 13.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002023/0.3839, allocations: 97.8 kB / 0.6838 GB, free: 13.15 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.384, allocations: 29.7 kB / 0.6838 GB, free: 13.12 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3842, allocations: 80.14 kB / 0.6839 GB, free: 13.04 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.799e-05/0.3843, allocations: 19.67 kB / 0.6839 GB, free: 13.02 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.289e-05/0.3844, allocations: 21.72 kB / 0.6839 GB, free: 12.99 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.3846, allocations: 310.8 kB / 0.6842 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.81e-05/0.3847, allocations: 12.11 kB / 0.6842 GB, free: 12.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.078e-05/0.3847, allocations: 12 kB / 0.6842 GB, free: 12.65 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001136/0.3849, allocations: 28.8 kB / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3849, allocations: 0 / 0.6843 GB, free: 12.62 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001974/0.3851, allocations: 57.97 kB / 0.6843 GB, free: 12.56 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.3852, allocations: 11.94 kB / 0.6843 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.3852, allocations: 64 / 0.6843 GB, free: 12.55 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.3852, allocations: 4 kB / 0.6843 GB, free: 12.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001337/0.3854, allocations: 11.98 kB / 0.6844 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3854, allocations: 3.984 kB / 0.6844 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.868e-05/0.3854, allocations: 0 / 0.6844 GB, free: 12.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.585e-05/0.3855, allocations: 8 kB / 0.6844 GB, free: 12.52 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 0.0002475/0.3857, allocations: 111.1 kB / 0.6845 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.502e-05/0.3858, allocations: 7.938 kB / 0.6845 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003941/0.3862, allocations: 77.23 kB / 0.6845 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3862, allocations: 4 kB / 0.6846 GB, free: 12.31 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.3862, allocations: 4 kB / 0.6846 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.3862, allocations: 0 / 0.6846 GB, free: 12.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002938/0.3865, allocations: 169.5 kB / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.3866, allocations: 0 / 0.6847 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.33e-05/0.3867, allocations: 8 kB / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.226e-05/0.3867, allocations: 3.938 kB / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.3867, allocations: 0 / 0.6847 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.482e-06/0.3867, allocations: 7.938 kB / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3868, allocations: 0 / 0.6847 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.387, allocations: 85.12 kB / 0.6848 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.3872, allocations: 93.02 kB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.146e-05/0.3873, allocations: 0 / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.493e-05/0.3873, allocations: 0 / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.084e-05/0.3874, allocations: 4 kB / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.3874, allocations: 0 / 0.6849 GB, free: 11.86 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.797e-05/0.3875, allocations: 83.28 kB / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.318e-06/0.3875, allocations: 0 / 0.685 GB, free: 11.77 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005778/0.3881, allocations: 55.95 kB / 0.685 GB, free: 11.72 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.0006271/0.3887, allocations: 163.1 kB / 0.6852 GB, free: 11.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.389, allocations: 24.12 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.389, allocations: 3.938 kB / 0.6852 GB, free: 11.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.641e-05/0.3891, allocations: 19.98 kB / 0.6852 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003033/0.3894, allocations: 6.25 kB / 0.6853 GB, free: 11.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007166/0.3901, allocations: 176.6 kB / 0.6854 GB, free: 11.29 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007864/0.3909, allocations: 0.677 MB / 0.6861 GB, free: 10.59 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.755e-05/0.391, allocations: 11.44 kB / 0.6861 GB, free: 10.58 MB / 494.1 MB Notification: Performance of SimCode: time 4.51e-07/0.391, allocations: 0 / 0.6861 GB, free: 10.58 MB / 494.1 MB Notification: Performance of Templates: time 0.00733/0.3983, allocations: 1.182 MB / 0.6872 GB, free: 9.398 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