Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.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.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") translateModel(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008247/0.0008246, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009268/0.0009273, allocations: 185.4 kB / 16.92 MB, free: 6.707 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.396/1.396, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001737/0.001737, allocations: 266.8 kB / 292.3 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9687/0.9687, allocations: 169.5 MB / 0.501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004214, allocations: 12.97 kB / 0.5993 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1684, allocations: 88.55 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.01426/0.1827, allocations: 13.86 MB / 0.6993 GB, free: 1.199 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004921/0.1877, allocations: 3.625 MB / 0.7028 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004031/0.1881, allocations: 19.88 kB / 0.7029 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006056/0.1887, allocations: 163.1 kB / 0.703 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001483/0.1902, allocations: 0.5444 MB / 0.7035 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009748/0.1912, allocations: 372.9 kB / 0.7039 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001585/0.1928, allocations: 1.454 MB / 0.7053 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.1932, allocations: 260.3 kB / 0.7056 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.1936, allocations: 314.6 kB / 0.7059 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003374/0.194, allocations: 298.6 kB / 0.7062 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.695e-05/0.194, allocations: 16 kB / 0.7062 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004689/0.1945, allocations: 235.5 kB / 0.7064 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.66e-05/0.1946, allocations: 79.59 kB / 0.7065 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.1948, allocations: 216.8 kB / 0.7067 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.1954, allocations: 442.8 kB / 0.7071 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1954, allocations: 0 / 0.7071 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1954, allocations: 0 / 0.7071 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.1955, allocations: 0 / 0.7071 GB, free: 9.188 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.00112/0.1966, allocations: 0.6719 MB / 0.7078 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.1966, allocations: 8.031 kB / 0.7078 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001745/0.1968, allocations: 48.45 kB / 0.7078 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006966/0.1975, allocations: 479.7 kB / 0.7083 GB, free: 7.898 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.929e-05/0.1975, allocations: 32.67 kB / 0.7083 GB, free: 7.867 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.229e-05/0.1976, allocations: 24 kB / 0.7083 GB, free: 7.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.1982, allocations: 310.2 kB / 0.7086 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.1982, allocations: 0 / 0.7086 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.459e-05/0.1982, allocations: 19.98 kB / 0.7086 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.842e-05/0.1983, allocations: 8 kB / 0.7086 GB, free: 7.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004844/0.1988, allocations: 202.1 kB / 0.7088 GB, free: 7.301 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2007, allocations: 1.493 MB / 0.7103 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.2012, allocations: 166.6 kB / 0.7105 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001853/0.2014, allocations: 76.81 kB / 0.7105 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/0.2015, allocations: 93.09 kB / 0.7106 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002958/0.2019, allocations: 135.1 kB / 0.7107 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.654e-06/0.2019, allocations: 0 / 0.7107 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0006418/0.2025, allocations: 251 kB / 0.711 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.2026, allocations: 55.41 kB / 0.711 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004711/0.203, allocations: 333.6 kB / 0.7114 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.185e-05/0.2031, allocations: 37.7 kB / 0.7114 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.2033, allocations: 211.8 kB / 0.7116 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.947e-05/0.2034, allocations: 55.2 kB / 0.7116 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.235e-05/0.2034, allocations: 29.7 kB / 0.7117 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002261/0.2037, allocations: 346.7 kB / 0.712 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001958/0.2039, allocations: 75.95 kB / 0.7121 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.2041, allocations: 158.6 kB / 0.7122 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004176/0.2045, allocations: 248.9 kB / 0.7125 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.93e-06/0.2046, allocations: 4 kB / 0.7125 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006679/0.2052, allocations: 324.7 kB / 0.7128 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.434e-05/0.2053, allocations: 39.52 kB / 0.7128 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.2053, allocations: 4 kB / 0.7128 GB, free: 2.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2053, allocations: 8.25 kB / 0.7128 GB, free: 2.895 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002326/0.2055, allocations: 63.91 kB / 0.7129 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2056, allocations: 7.984 kB / 0.7129 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.2058, allocations: 35.73 kB / 0.7129 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.415e-05/0.2059, allocations: 12 kB / 0.7129 GB, free: 2.777 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * 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.0001608/0.206, allocations: 167 kB / 0.7131 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.502e-05/0.2061, allocations: 31.62 kB / 0.7131 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004624/0.2066, allocations: 208.4 kB / 0.7133 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.2066, allocations: 3.938 kB / 0.7133 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2066, allocations: 8 kB / 0.7133 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004889/0.2071, allocations: 490 kB / 0.7138 GB, free: 1.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.2076, allocations: 345.4 kB / 0.7141 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2076, allocations: 0 / 0.7141 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.2077, allocations: 43.91 kB / 0.7142 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2078, allocations: 4 kB / 0.7142 GB, free: 1.359 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.2078, allocations: 4 kB / 0.7142 GB, free: 1.355 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.826e-06/0.2078, allocations: 3.938 kB / 0.7142 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.2078, allocations: 3.984 kB / 0.7142 GB, free: 1.348 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006273/0.2084, allocations: 304.5 kB / 0.7145 GB, free: 1.031 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.2085, allocations: 120.8 kB / 0.7146 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.678e-05/0.2086, allocations: 4 kB / 0.7146 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2088, allocations: 27.91 kB / 0.7146 GB, free: 0.8633 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.199e-05/0.2089, allocations: 15.98 kB / 0.7146 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.919e-05/0.209, allocations: 11.98 kB / 0.7147 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002246/0.2092, allocations: 239.2 kB / 0.7149 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2092, allocations: 0 / 0.7149 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004171/0.2097, allocations: 120 kB / 0.715 GB, free: 0.4922 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (expVes.m,expVes.H,vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0003091/0.21, allocations: 195 kB / 0.7152 GB, free: 296 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004828/0.2105, allocations: 239.5 kB / 0.7154 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.2105, allocations: 0 / 0.7154 GB, free: 44 kB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.2107, allocations: 77.61 kB / 0.7155 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.2117, allocations: 205.8 kB / 0.7157 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.2134, allocations: 0.952 MB / 0.7166 GB, free: 14.78 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000552/0.214, allocations: 0.7804 MB / 0.7174 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.542e-05/0.2141, allocations: 39.42 kB / 0.7174 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.2141, allocations: 0 / 0.7174 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of Templates: time 0.009267/0.2234, allocations: 5.902 MB / 0.7232 GB, free: 8.098 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVessel.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.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o] Error 1