Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000917/0.000917, 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.001246/0.001246, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.439/1.439, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001769/0.001769, allocations: 274.1 kB / 292.3 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9522/0.9522, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004106, allocations: 16.03 kB / 0.5993 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1649, allocations: 88.55 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.598/0.7631, allocations: 189.1 MB / 0.8704 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.7758, allocations: 6.927 MB / 0.8772 GB, free: 8.688 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002171/0.778, allocations: 34.62 kB / 0.8772 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002204/0.7803, allocations: 0.5658 MB / 0.8778 GB, free: 8.199 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006911/0.7872, allocations: 2.191 MB / 0.8799 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003605/0.7908, allocations: 1.283 MB / 0.8812 GB, free: 5.594 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004791/0.7956, allocations: 3.737 MB / 0.8848 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.7968, allocations: 0.7721 MB / 0.8856 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001675/0.7985, allocations: 0.9621 MB / 0.8865 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001586/0.8001, allocations: 0.7897 MB / 0.8873 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001042/0.8002, allocations: 48 kB / 0.8873 GB, free: 1.562 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004237/0.8045, allocations: 2.217 MB / 0.8895 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003594/0.8048, allocations: 314.8 kB / 0.8898 GB, free: 15.03 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005849/0.8054, allocations: 0.5379 MB / 0.8903 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.8075, allocations: 1.746 MB / 0.892 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8075, allocations: 0 / 0.892 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.8075, allocations: 0 / 0.892 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.8075, allocations: 0 / 0.892 GB, free: 12.73 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002919/0.8105, allocations: 1.388 MB / 0.8934 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.8105, allocations: 12.03 kB / 0.8934 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002876/0.8134, allocations: 0.6034 MB / 0.894 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002006/0.8154, allocations: 0.9908 MB / 0.895 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001177/0.8166, allocations: 313.1 kB / 0.8953 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001325/0.8168, allocations: 71.98 kB / 0.8953 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/0.8192, allocations: 1.152 MB / 0.8965 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.8193, allocations: 3.938 kB / 0.8965 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.8193, allocations: 28 kB / 0.8965 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.15e-05/0.8194, allocations: 29.31 kB / 0.8965 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.8226, allocations: 1.258 MB / 0.8977 GB, free: 6.766 MB / 0.6075 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.006047/0.8286, allocations: 3.264 MB / 0.9009 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001709/0.8303, allocations: 0.6959 MB / 0.9016 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008316/0.8312, allocations: 430.1 kB / 0.902 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.8323, allocations: 1.025 MB / 0.903 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001003/0.8333, allocations: 0.526 MB / 0.9035 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 5.701e-06/0.8333, allocations: 3.984 kB / 0.9035 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.002837/0.8361, allocations: 1.24 MB / 0.9048 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.143e-05/0.8362, allocations: 144.8 kB / 0.9049 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001934/0.8382, allocations: 1.223 MB / 0.9061 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.643e-05/0.8383, allocations: 37.7 kB / 0.9061 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003727/0.8387, allocations: 433.5 kB / 0.9065 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001567/0.8388, allocations: 193.2 kB / 0.9067 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.8389, allocations: 53.69 kB / 0.9068 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.8391, allocations: 330 kB / 0.9071 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.8404, allocations: 480.9 kB / 0.9075 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.8418, allocations: 0.6483 MB / 0.9082 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002107/0.844, allocations: 0.9809 MB / 0.9091 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.844, allocations: 4 kB / 0.9091 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003107/0.8471, allocations: 1.283 MB / 0.9104 GB, free: 9.289 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.669e-05/0.8472, allocations: 41.69 kB / 0.9104 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.8472, allocations: 0.625 kB / 0.9104 GB, free: 9.242 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.8472, allocations: 8 kB / 0.9104 GB, free: 9.234 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009406/0.8481, allocations: 208 kB / 0.9106 GB, free: 9.031 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.403e-05/0.8482, allocations: 15.92 kB / 0.9107 GB, free: 9.016 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.8498, allocations: 298.9 kB / 0.9109 GB, free: 8.723 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.8499, allocations: 43.97 kB / 0.911 GB, free: 8.68 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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.0004798/0.8503, allocations: 324.6 kB / 0.9113 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.8505, allocations: 114.6 kB / 0.9114 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002086/0.8526, allocations: 1.022 MB / 0.9124 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.8526, allocations: 8 kB / 0.9124 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.8527, allocations: 3.938 kB / 0.9124 GB, free: 7.188 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.8527, allocations: 3.984 kB / 0.9124 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00454/0.8572, allocations: 3.174 MB / 0.9155 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.265e-05/0.8572, allocations: 8.469 kB / 0.9155 GB, free: 3.848 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005557/0.8578, allocations: 124 kB / 0.9156 GB, free: 3.727 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.388e-05/0.8578, allocations: 12 kB / 0.9156 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.316e-05/0.8579, allocations: 23.98 kB / 0.9157 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/0.8579, allocations: 23.88 kB / 0.9157 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.8579, allocations: 8 kB / 0.9157 GB, free: 3.66 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.86, allocations: 1.369 MB / 0.917 GB, free: 2.172 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004328/0.8604, allocations: 327.3 kB / 0.9173 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000144/0.8606, allocations: 31.98 kB / 0.9174 GB, free: 1.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/0.8617, allocations: 123.9 kB / 0.9175 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.8618, allocations: 63.7 kB / 0.9176 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.243e-05/0.8619, allocations: 43.97 kB / 0.9176 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001551/0.8634, allocations: 0.8872 MB / 0.9185 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8634, allocations: 0 / 0.9185 GB, free: 0.6797 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0009972/0.8644, allocations: 291.9 kB / 0.9187 GB, free: 404 kB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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.0006982/0.8651, allocations: 363 kB / 0.9191 GB, free: 44 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002386/0.8675, allocations: 1.045 MB / 0.9201 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/0.8676, allocations: 4 kB / 0.9201 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/0.8685, allocations: 0.5204 MB / 0.9206 GB, free: 14.45 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003576/0.8721, allocations: 0.5297 MB / 0.9211 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.8757, allocations: 2.425 MB / 0.9235 GB, free: 11.38 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.8764, allocations: 1.069 MB / 0.9246 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003141/0.8767, allocations: 87.39 kB / 0.9246 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of SimCode: time 3.9e-07/0.8767, allocations: 0 / 0.9246 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of Templates: time 0.02584/0.9026, allocations: 18.58 MB / 0.9428 GB, free: 7.746 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1