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.001871/0.001872, 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.002266/0.002266, allocations: 194.9 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.689/2.689, 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.003344/0.003345, allocations: 282.5 kB / 290.9 MB, free: 2.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.812/1.812, allocations: 169.2 MB / 0.4983 GB, free: 14.17 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002921/0.002921, allocations: 100.9 kB / 0.5951 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3706/0.3736, allocations: 86.99 MB / 0.6801 GB, free: 1.172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 1.216/1.589, allocations: 191.6 MB / 0.8672 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.02148/1.611, allocations: 6.998 MB / 0.8741 GB, free: 10.13 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004179/1.615, allocations: 36.19 kB / 0.8741 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003874/1.619, allocations: 0.5677 MB / 0.8746 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01388/1.633, allocations: 2.18 MB / 0.8768 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007661/1.641, allocations: 1.286 MB / 0.878 GB, free: 7.043 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01059/1.651, allocations: 3.742 MB / 0.8817 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003215/1.655, allocations: 0.7945 MB / 0.8825 GB, free: 4.488 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004779/1.659, allocations: 0.9724 MB / 0.8834 GB, free: 3.961 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004482/1.664, allocations: 0.8046 MB / 0.8842 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0009009/1.665, allocations: 48.31 kB / 0.8842 GB, free: 3.5 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01021/1.675, allocations: 2.225 MB / 0.8864 GB, free: 2.215 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001552/1.677, allocations: 320.3 kB / 0.8867 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002959/1.68, allocations: 0.5419 MB / 0.8872 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006624/1.686, allocations: 1.762 MB / 0.889 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.291e-05/1.686, allocations: 0 / 0.889 GB, free: 0.5234 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.004e-06/1.686, allocations: 3.938 kB / 0.889 GB, free: 0.5195 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.961e-05/1.687, allocations: 0 / 0.889 GB, free: 0.5195 MB / 0.5919 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.01016/1.697, allocations: 1.629 MB / 0.8906 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 9.244e-05/1.697, allocations: 7.125 kB / 0.8906 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005511/1.702, allocations: 0.5371 MB / 0.8911 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005278/1.708, allocations: 0.9899 MB / 0.8921 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001945/1.71, allocations: 280.6 kB / 0.8923 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007288/1.71, allocations: 67.47 kB / 0.8924 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006097/1.717, allocations: 1.126 MB / 0.8935 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/1.717, allocations: 3.938 kB / 0.8935 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002975/1.717, allocations: 31.39 kB / 0.8935 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/1.717, allocations: 34.12 kB / 0.8936 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/1.723, allocations: 1.2 MB / 0.8947 GB, free: 12.2 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.01302/1.736, allocations: 3.207 MB / 0.8979 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003455/1.74, allocations: 0.6918 MB / 0.8985 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.741, allocations: 426.2 kB / 0.8989 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002299/1.744, allocations: 1.021 MB / 0.8999 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002082/1.746, allocations: 0.5104 MB / 0.9004 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=57): time 7.924e-06/1.746, allocations: 0 / 0.9004 GB, free: 6.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=57): time 0.00566/1.752, allocations: 1.225 MB / 0.9016 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001617/1.752, allocations: 148.8 kB / 0.9018 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004648/1.756, allocations: 1.2 MB / 0.903 GB, free: 3.383 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002273/1.757, allocations: 37.7 kB / 0.903 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007836/1.757, allocations: 441.4 kB / 0.9034 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003365/1.758, allocations: 189.3 kB / 0.9036 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006313/1.758, allocations: 142.1 kB / 0.9037 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002657/1.759, allocations: 334 kB / 0.904 GB, free: 2.242 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002258/1.761, allocations: 452.9 kB / 0.9045 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002794/1.764, allocations: 0.621 MB / 0.9051 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003633/1.767, allocations: 0.9496 MB / 0.906 GB, free: 136 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/1.767, allocations: 0 / 0.906 GB, free: 136 kB / 0.6075 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.006664/1.774, allocations: 1.233 MB / 0.9072 GB, free: 14.88 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/1.774, allocations: 37.69 kB / 0.9072 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.228e-05/1.774, allocations: 7.938 kB / 0.9073 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.542e-05/1.774, allocations: 4 kB / 0.9073 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/1.776, allocations: 191.9 kB / 0.9074 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.543e-05/1.776, allocations: 15.88 kB / 0.9075 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/1.779, allocations: 270.9 kB / 0.9077 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/1.779, allocations: 35.97 kB / 0.9077 GB, free: 14.32 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.001036/1.78, allocations: 328 kB / 0.9081 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00062/1.781, allocations: 114.6 kB / 0.9082 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/1.785, allocations: 0.9934 MB / 0.9091 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/1.785, allocations: 16.5 kB / 0.9092 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/1.785, allocations: 3.938 kB / 0.9092 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/1.785, allocations: 3.938 kB / 0.9092 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009284/1.794, allocations: 3.159 MB / 0.9122 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.764e-05/1.794, allocations: 8 kB / 0.9123 GB, free: 9.527 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000989/1.795, allocations: 116 kB / 0.9124 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.491e-05/1.795, allocations: 16 kB / 0.9124 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001029/1.795, allocations: 31.98 kB / 0.9124 GB, free: 9.367 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.975e-05/1.795, allocations: 11.94 kB / 0.9124 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.074e-05/1.795, allocations: 8 kB / 0.9124 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004017/1.799, allocations: 1.361 MB / 0.9138 GB, free: 7.867 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/1.801, allocations: 327.4 kB / 0.9141 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005025/1.801, allocations: 19.98 kB / 0.9141 GB, free: 7.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.804, allocations: 107.9 kB / 0.9142 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001993/1.804, allocations: 67.69 kB / 0.9143 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001819/1.804, allocations: 43.97 kB / 0.9143 GB, free: 7.293 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003376/1.807, allocations: 0.8677 MB / 0.9151 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.71e-07/1.807, allocations: 0 / 0.9151 GB, free: 6.418 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002617/1.81, allocations: 299.8 kB / 0.9154 GB, free: 6.125 MB / 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.001455/1.812, allocations: 349.3 kB / 0.9158 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004237/1.816, allocations: 1.017 MB / 0.9168 GB, free: 4.762 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.429e-05/1.816, allocations: 4 kB / 0.9168 GB, free: 4.758 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001613/1.818, allocations: 0.5125 MB / 0.9173 GB, free: 4.234 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005046/1.823, allocations: 0.5422 MB / 0.9178 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007498/1.83, allocations: 2.376 MB / 0.9201 GB, free: 1.195 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.832, allocations: 1.065 MB / 0.9212 GB, free: 104 kB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006703/1.832, allocations: 91.39 kB / 0.9212 GB, free: 12 kB / 0.6231 GB Notification: Performance of SimCode: time 1.313e-06/1.832, allocations: 7.875 kB / 0.9213 GB, free: 4 kB / 0.6231 GB Notification: Performance of Templates: time 0.2783/2.111, allocations: 18.73 MB / 0.9395 GB, free: 13.42 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