Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel") translateModel(Buildings.Fluid.Storage.Examples.ExpansionVessel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009089/0.000909, allocations: 100.8 kB / 15.71 MB, free: 456 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.001685/0.001685, allocations: 174.6 kB / 16.58 MB, free: 6.859 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.878/1.878, allocations: 205.4 MB / 222.8 MB, free: 5.664 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.816/1.816, allocations: 292.7 MB / 0.5505 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005809/0.0005809, allocations: 18.28 kB / 0.6743 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3428, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Examples.ExpansionVessel): time 0.01667/0.3595, allocations: 13.18 MB / 0.8008 GB, free: 14.73 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.006504/0.3661, allocations: 3.377 MB / 0.8041 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008094/0.3669, allocations: 11.94 kB / 0.8041 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006769/0.3676, allocations: 159 kB / 0.8043 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.001627/0.3693, allocations: 481.5 kB / 0.8047 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3704, allocations: 278.7 kB / 0.805 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001631/0.372, allocations: 1.239 MB / 0.8062 GB, free: 9.188 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004574/0.3725, allocations: 242.3 kB / 0.8064 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004945/0.373, allocations: 314.7 kB / 0.8067 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004036/0.3734, allocations: 278.8 kB / 0.807 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.3734, allocations: 12 kB / 0.807 GB, free: 8.355 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005156/0.374, allocations: 155.6 kB / 0.8071 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.3741, allocations: 67.73 kB / 0.8072 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.3742, allocations: 101.5 kB / 0.8073 GB, free: 8.031 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.0005644/0.3748, allocations: 434.8 kB / 0.8077 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3748, allocations: 0 / 0.8077 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3748, allocations: 0 / 0.8077 GB, free: 7.605 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.241e-06/0.3748, allocations: 0 / 0.8077 GB, free: 7.605 MB / 0.6231 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.001373/0.3762, allocations: 0.6717 MB / 0.8084 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.3762, allocations: 8.031 kB / 0.8084 GB, free: 6.871 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.3765, allocations: 47.52 kB / 0.8084 GB, free: 6.824 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008624/0.3773, allocations: 458 kB / 0.8089 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.3774, allocations: 24.52 kB / 0.8089 GB, free: 6.312 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.856e-05/0.3775, allocations: 31.91 kB / 0.8089 GB, free: 6.281 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006528/0.3781, allocations: 314.2 kB / 0.8092 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/0.3782, allocations: 0 / 0.8092 GB, free: 5.953 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.3782, allocations: 12 kB / 0.8092 GB, free: 5.941 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.785e-05/0.3782, allocations: 8 kB / 0.8092 GB, free: 5.934 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000455/0.3787, allocations: 198.1 kB / 0.8094 GB, free: 5.738 MB / 0.6231 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.002146/0.3809, allocations: 1.497 MB / 0.8109 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.3813, allocations: 158.6 kB / 0.811 GB, free: 3.953 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.3815, allocations: 76.81 kB / 0.8111 GB, free: 3.875 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001833/0.3817, allocations: 89.09 kB / 0.8112 GB, free: 3.77 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003984/0.3821, allocations: 138.2 kB / 0.8113 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 2.174e-06/0.3821, allocations: 0 / 0.8113 GB, free: 3.625 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0006512/0.3828, allocations: 241.2 kB / 0.8116 GB, free: 3.383 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3828, allocations: 55.41 kB / 0.8116 GB, free: 3.316 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.3832, allocations: 333.5 kB / 0.8119 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.046e-05/0.3833, allocations: 33.7 kB / 0.812 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.3834, allocations: 215.8 kB / 0.8122 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.923e-05/0.3835, allocations: 55.19 kB / 0.8122 GB, free: 2.672 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.478e-05/0.3835, allocations: 8 kB / 0.8122 GB, free: 2.664 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002033/0.3837, allocations: 346.8 kB / 0.8126 GB, free: 2.316 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.3839, allocations: 75.89 kB / 0.8126 GB, free: 2.242 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.3843, allocations: 157.3 kB / 0.8128 GB, free: 2.055 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.3845, allocations: 124.6 kB / 0.8129 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3846, allocations: 0 / 0.8129 GB, free: 1.93 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007928/0.3854, allocations: 318.6 kB / 0.8132 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.3856, allocations: 37.69 kB / 0.8132 GB, free: 1.562 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.779e-06/0.3856, allocations: 4 kB / 0.8132 GB, free: 1.559 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.3857, allocations: 8.312 kB / 0.8133 GB, free: 1.551 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.3859, allocations: 59.91 kB / 0.8133 GB, free: 1.492 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.3859, allocations: 4 kB / 0.8133 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002628/0.3862, allocations: 31.83 kB / 0.8133 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.3862, allocations: 8 kB / 0.8134 GB, free: 1.449 MB / 0.6231 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001918/0.3864, allocations: 173.7 kB / 0.8135 GB, free: 1.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.71e-05/0.3865, allocations: 31.62 kB / 0.8136 GB, free: 1.238 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005566/0.387, allocations: 204.4 kB / 0.8137 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.387, allocations: 0 / 0.8137 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.3871, allocations: 4 kB / 0.8137 GB, free: 1.02 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005653/0.3876, allocations: 0.49 MB / 0.8142 GB, free: 456 kB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005211/0.3882, allocations: 349.3 kB / 0.8146 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.3882, allocations: 7.969 kB / 0.8146 GB, free: 48 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.3884, allocations: 39.92 kB / 0.8146 GB, free: 8 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.3884, allocations: 0 / 0.8146 GB, free: 8 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.3884, allocations: 4 kB / 0.8146 GB, free: 4 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3884, allocations: 4 kB / 0.8146 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3884, allocations: 0 / 0.8146 GB, free: 0 / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007009/0.3891, allocations: 296.6 kB / 0.8149 GB, free: 15.69 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001515/0.3893, allocations: 128.7 kB / 0.815 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.266e-05/0.3893, allocations: 7.984 kB / 0.815 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003091/0.3897, allocations: 23.89 kB / 0.815 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.848e-05/0.3898, allocations: 23.91 kB / 0.8151 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.187e-05/0.3898, allocations: 8 kB / 0.8151 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002517/0.39, allocations: 231.2 kB / 0.8153 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.39, allocations: 0 / 0.8153 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004882/0.3905, allocations: 116 kB / 0.8154 GB, free: 15.15 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005074/0.3911, allocations: 183 kB / 0.8156 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005696/0.3916, allocations: 239.6 kB / 0.8158 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/0.3917, allocations: 0 / 0.8158 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/0.3919, allocations: 78.84 kB / 0.8159 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.3929, allocations: 203 kB / 0.8161 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001931/0.3949, allocations: 0.9732 MB / 0.817 GB, free: 13.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005588/0.3955, allocations: 0.7884 MB / 0.8178 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001106/0.3956, allocations: 35.42 kB / 0.8178 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of SimCode: time 5.81e-07/0.3956, allocations: 0 / 0.8178 GB, free: 12.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.01152/0.4072, allocations: 5.813 MB / 0.8235 GB, free: 6.832 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile make -j1 -f Buildings_8_Buildings.Fluid.Storage.Examples.ExpansionVessel.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.Storage.Examples.ExpansionVesselCalcHelperMain.o] Error 1