Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.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.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001494/0.001494, 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.002218/0.002219, allocations: 196.4 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.188/2.188, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00352/0.00352, allocations: 283 kB / 290.9 MB, free: 2.078 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.571/1.571, allocations: 169.2 MB / 0.4984 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 92.19 kB / 0.5951 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2322, allocations: 86.98 MB / 0.6801 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.005736/0.238, allocations: 1.781 MB / 0.6818 GB, free: 15.41 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002898/0.241, allocations: 1.045 MB / 0.6828 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.03e-05/0.2411, allocations: 0.6562 kB / 0.6828 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.029e-05/0.2412, allocations: 7.922 kB / 0.6828 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001935/0.2414, allocations: 28.64 kB / 0.6829 GB, free: 14.33 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007594/0.2422, allocations: 129.3 kB / 0.683 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002035/0.2424, allocations: 92.38 kB / 0.6831 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.2427, allocations: 36.36 kB / 0.6831 GB, free: 14.07 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/0.2428, allocations: 43.84 kB / 0.6831 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.243, allocations: 27.86 kB / 0.6832 GB, free: 14 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.243, allocations: 4 kB / 0.6832 GB, free: 14 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005577/0.2436, allocations: 191.7 kB / 0.6834 GB, free: 13.81 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.2436, allocations: 11.94 kB / 0.6834 GB, free: 13.8 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.228e-05/0.2438, allocations: 47.8 kB / 0.6834 GB, free: 13.75 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.2442, allocations: 135.8 kB / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.473e-06/0.2442, allocations: 0 / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.2442, allocations: 0 / 0.6835 GB, free: 13.62 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.2442, allocations: 0 / 0.6835 GB, free: 13.62 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00101/0.2452, allocations: 420.9 kB / 0.6839 GB, free: 13.16 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.84e-05/0.2453, allocations: 15.97 kB / 0.684 GB, free: 13.15 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.2455, allocations: 12.84 kB / 0.684 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.2458, allocations: 192.1 kB / 0.6842 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.335e-05/0.2459, allocations: 4.375 kB / 0.6842 GB, free: 12.91 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.246, allocations: 4.375 kB / 0.6842 GB, free: 12.9 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/0.2462, allocations: 81.91 kB / 0.6842 GB, free: 12.82 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.2463, allocations: 3.984 kB / 0.6842 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2463, allocations: 0 / 0.6842 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.709e-06/0.2463, allocations: 4 kB / 0.6843 GB, free: 12.81 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.2465, allocations: 39.98 kB / 0.6843 GB, free: 12.77 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008231/0.2474, allocations: 396 kB / 0.6847 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001761/0.2476, allocations: 42.56 kB / 0.6847 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.548e-05/0.2477, allocations: 20.94 kB / 0.6847 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.2479, allocations: 89.11 kB / 0.6848 GB, free: 12.14 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.75e-05/0.2479, allocations: 34.56 kB / 0.6848 GB, free: 12.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.2479, allocations: 0 / 0.6848 GB, free: 12.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0003982/0.2483, allocations: 89.5 kB / 0.6849 GB, free: 12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001792/0.2485, allocations: 51.41 kB / 0.685 GB, free: 11.94 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001643/0.2487, allocations: 138.2 kB / 0.6851 GB, free: 11.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2487, allocations: 29.64 kB / 0.6851 GB, free: 11.76 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.2489, allocations: 111.9 kB / 0.6852 GB, free: 11.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.249, allocations: 7.906 kB / 0.6853 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.995e-05/0.249, allocations: 21.72 kB / 0.6853 GB, free: 11.61 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2492, allocations: 314.8 kB / 0.6856 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.566e-05/0.2492, allocations: 12 kB / 0.6856 GB, free: 11.29 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.778e-05/0.2493, allocations: 15.98 kB / 0.6856 GB, free: 11.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001052/0.2494, allocations: 36.84 kB / 0.6856 GB, free: 11.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2494, allocations: 0 / 0.6856 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001504/0.2495, allocations: 77.52 kB / 0.6857 GB, free: 11.15 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.2496, allocations: 8 kB / 0.6857 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.2496, allocations: 0 / 0.6857 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2496, allocations: 0 / 0.6857 GB, free: 11.14 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.2497, allocations: 11.98 kB / 0.6857 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2498, allocations: 0 / 0.6857 GB, free: 11.13 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.164e-05/0.2498, allocations: 3.938 kB / 0.6857 GB, free: 11.12 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2498, allocations: 7.984 kB / 0.6857 GB, free: 11.12 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 (3): * Single equations (assignments): 3 * 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 9.926e-05/0.2499, allocations: 114.5 kB / 0.6859 GB, free: 11 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.161e-05/0.25, allocations: 11.91 kB / 0.6859 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.2502, allocations: 86.19 kB / 0.6859 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2502, allocations: 0 / 0.6859 GB, free: 10.89 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.2502, allocations: 3.984 kB / 0.686 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.2502, allocations: 7.984 kB / 0.686 GB, free: 10.88 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002223/0.2505, allocations: 185.6 kB / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2505, allocations: 0 / 0.6861 GB, free: 10.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.586e-05/0.2506, allocations: 11.98 kB / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.2506, allocations: 0 / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.2506, allocations: 4 kB / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.2506, allocations: 0 / 0.6861 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.2506, allocations: 4 kB / 0.6862 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/0.2508, allocations: 179.3 kB / 0.6863 GB, free: 10.43 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.412e-05/0.2509, allocations: 88.95 kB / 0.6864 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.139e-05/0.2509, allocations: 0 / 0.6864 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.81e-05/0.251, allocations: 3.984 kB / 0.6864 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/0.2512, allocations: 11.94 kB / 0.6864 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.2512, allocations: 3.938 kB / 0.6864 GB, free: 10.31 MB / 494.1 MB Notification: Performance of sorting global known variables: time 8.194e-05/0.2513, allocations: 109.1 kB / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2513, allocations: 0 / 0.6865 GB, free: 10.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003505/0.2516, allocations: 63.94 kB / 0.6866 GB, free: 10.14 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 (4): * Single equations (assignments): 4 * 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.0003369/0.252, allocations: 159.1 kB / 0.6867 GB, free: 9.977 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002073/0.2522, allocations: 39.97 kB / 0.6868 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2522, allocations: 4 kB / 0.6868 GB, free: 9.934 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.551e-05/0.2523, allocations: 27.92 kB / 0.6868 GB, free: 9.906 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005939/0.2529, allocations: 18.06 kB / 0.6868 GB, free: 9.891 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008319/0.2538, allocations: 254.4 kB / 0.6871 GB, free: 9.609 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006628/0.2544, allocations: 0.6887 MB / 0.6877 GB, free: 8.895 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.085e-05/0.2546, allocations: 15.44 kB / 0.6878 GB, free: 8.879 MB / 494.1 MB Notification: Performance of SimCode: time 4.879e-06/0.2547, allocations: 0 / 0.6878 GB, free: 8.879 MB / 494.1 MB Notification: Performance of Templates: time 0.005313/0.26, allocations: 1.689 MB / 0.6894 GB, free: 7.195 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.makefile make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.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.Examples.GasGapClosedCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.HAM.Examples.GasGapClosedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.HAM.Examples.GasGapClosedCalcHelperMain.o] Error 1