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.009915/0.009915, allocations: 103 kB / 15.88 MB, free: 6.328 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.001749/0.001749, allocations: 197 kB / 16.79 MB, free: 6.254 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.961/1.961, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003573/0.003572, allocations: 278.9 kB / 290.9 MB, free: 2.184 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.346/1.346, allocations: 169.2 MB / 0.4984 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003258/0.003259, allocations: 88.66 kB / 0.5951 GB, free: 28.35 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.294, allocations: 86.98 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Storage.Examples.ExpansionVessel): time 0.02575/0.3198, allocations: 14.39 MB / 0.6941 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.009259/0.3291, allocations: 3.664 MB / 0.6977 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.3303, allocations: 19.88 kB / 0.6977 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001139/0.3315, allocations: 167.1 kB / 0.6979 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002986/0.3345, allocations: 0.5483 MB / 0.6984 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001808/0.3364, allocations: 349.2 kB / 0.6987 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003404/0.3398, allocations: 1.469 MB / 0.7002 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008618/0.3407, allocations: 264.3 kB / 0.7004 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009649/0.3417, allocations: 322.6 kB / 0.7007 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000678/0.3424, allocations: 310.6 kB / 0.701 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.843e-05/0.3425, allocations: 23.94 kB / 0.7011 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0011/0.3436, allocations: 243.4 kB / 0.7013 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.3438, allocations: 83.66 kB / 0.7014 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003553/0.3441, allocations: 194.9 kB / 0.7016 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008743/0.345, allocations: 451 kB / 0.702 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.345, allocations: 0 / 0.702 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.413e-06/0.3451, allocations: 0 / 0.702 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.245e-06/0.3451, allocations: 4 kB / 0.702 GB, free: 10.66 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.001853/0.3469, allocations: 0.7419 MB / 0.7027 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.145e-05/0.347, allocations: 12.03 kB / 0.7027 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003312/0.3474, allocations: 48.45 kB / 0.7028 GB, free: 9.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001148/0.3485, allocations: 475.8 kB / 0.7032 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.3486, allocations: 24.69 kB / 0.7033 GB, free: 9.277 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.315e-05/0.3487, allocations: 31.89 kB / 0.7033 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009627/0.3496, allocations: 302.2 kB / 0.7036 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.131e-05/0.3497, allocations: 3.938 kB / 0.7036 GB, free: 8.934 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.3498, allocations: 19.92 kB / 0.7036 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.624e-05/0.3498, allocations: 12 kB / 0.7036 GB, free: 8.902 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/0.3506, allocations: 194.1 kB / 0.7038 GB, free: 8.715 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.003072/0.3537, allocations: 1.477 MB / 0.7052 GB, free: 7.105 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007474/0.3545, allocations: 154.6 kB / 0.7054 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.3548, allocations: 72.75 kB / 0.7054 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/0.3551, allocations: 89.11 kB / 0.7055 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005047/0.3556, allocations: 127.2 kB / 0.7057 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 3.487e-06/0.3557, allocations: 0 / 0.7057 GB, free: 6.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.001088/0.3568, allocations: 231 kB / 0.7059 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.998e-05/0.3569, allocations: 59.39 kB / 0.7059 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006096/0.3575, allocations: 345.4 kB / 0.7063 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.526e-05/0.3576, allocations: 33.7 kB / 0.7063 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002596/0.3578, allocations: 211.8 kB / 0.7065 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.115e-05/0.3579, allocations: 51.2 kB / 0.7065 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.3581, allocations: 53.7 kB / 0.7066 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3583, allocations: 342.8 kB / 0.7069 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003101/0.3586, allocations: 71.95 kB / 0.707 GB, free: 5.203 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.359, allocations: 147.1 kB / 0.7071 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006679/0.3597, allocations: 248.3 kB / 0.7074 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.3597, allocations: 0 / 0.7074 GB, free: 4.746 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0009898/0.3607, allocations: 314.8 kB / 0.7077 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.3608, allocations: 33.64 kB / 0.7077 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.3608, allocations: 7.984 kB / 0.7077 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.3608, allocations: 7.938 kB / 0.7077 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003809/0.3612, allocations: 55.91 kB / 0.7078 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.458e-05/0.3613, allocations: 0 / 0.7078 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005184/0.3618, allocations: 39.83 kB / 0.7078 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.3618, allocations: 16 kB / 0.7078 GB, free: 4.262 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.0004015/0.3623, allocations: 167 kB / 0.708 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.174e-05/0.3624, allocations: 31.62 kB / 0.708 GB, free: 4.059 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007532/0.3631, allocations: 190.2 kB / 0.7082 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/0.3632, allocations: 7.938 kB / 0.7082 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.3632, allocations: 0 / 0.7082 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000793/0.364, allocations: 483.8 kB / 0.7087 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000777/0.3648, allocations: 353.3 kB / 0.709 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.3648, allocations: 3.938 kB / 0.709 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002799/0.3651, allocations: 31.97 kB / 0.709 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.3651, allocations: 0 / 0.709 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.819e-05/0.3651, allocations: 8 kB / 0.709 GB, free: 2.867 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.586e-06/0.3651, allocations: 7.938 kB / 0.709 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3652, allocations: 0 / 0.709 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001028/0.3662, allocations: 282.4 kB / 0.7093 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/0.3664, allocations: 120.8 kB / 0.7094 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.814e-05/0.3665, allocations: 15.88 kB / 0.7094 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003647/0.3669, allocations: 19.91 kB / 0.7095 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.367, allocations: 19.98 kB / 0.7095 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.3671, allocations: 7.984 kB / 0.7095 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004345/0.3675, allocations: 239.2 kB / 0.7097 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.01e-07/0.3675, allocations: 0 / 0.7097 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008207/0.3684, allocations: 119.9 kB / 0.7098 GB, free: 2.023 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.0005802/0.3689, allocations: 199.2 kB / 0.71 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000854/0.3698, allocations: 221.5 kB / 0.7102 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3698, allocations: 4.062 kB / 0.7102 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003039/0.3702, allocations: 71.89 kB / 0.7103 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.3718, allocations: 195.1 kB / 0.7105 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002528/0.3744, allocations: 0.875 MB / 0.7114 GB, free: 428 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007256/0.3751, allocations: 0.796 MB / 0.7121 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.3753, allocations: 31.44 kB / 0.7122 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of SimCode: time 8.91e-07/0.3753, allocations: 0 / 0.7122 GB, free: 15.56 MB / 0.5137 GB Notification: Performance of Templates: time 0.01519/0.3905, allocations: 5.955 MB / 0.718 GB, free: 9.676 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