Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation") translateModel(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|modWatRev.conEqn.sta_a.T|modWatRev.conEqn.sta_b.T|modWatNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_b.T|modAirNoRev.conEqn.sta_b.T|modAirRev.conEqn.sta_a.X.1.|modAirRev.conEqn.sta_b.X.1.|modAirNoRev.conEqn.sta_b.X.1.|QSen_flow.y|mWat_flow.y",fileNamePrefix="Buildings_latest_Buildings.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.0009217/0.0009217, allocations: 99.36 kB / 15.71 MB, free: 452 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.001161/0.001161, allocations: 179.2 kB / 16.58 MB, free: 6.422 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.508/1.508, allocations: 223.2 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.897/2.897, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003496/0.0003498, allocations: 12 kB / 0.8717 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9397/0.9401, allocations: 153.7 MB / 1.022 GB, free: 1.258 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.2209/1.161, allocations: 176.6 MB / 1.194 GB, free: 168 kB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01261/1.174, allocations: 6.547 MB / 1.201 GB, free: 9.605 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/1.176, allocations: 39.69 kB / 1.201 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001736/1.177, allocations: 476.8 kB / 1.201 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.005502/1.183, allocations: 1.691 MB / 1.203 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003387/1.186, allocations: 1.078 MB / 1.204 GB, free: 6.344 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00544/1.192, allocations: 3.211 MB / 1.207 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001615/1.193, allocations: 0.6817 MB / 1.208 GB, free: 2.434 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002511/1.196, allocations: 0.9531 MB / 1.209 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00141/1.197, allocations: 0.7312 MB / 1.209 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001309/1.197, allocations: 44 kB / 1.209 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003441/1.201, allocations: 1.212 MB / 1.21 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0004164/1.201, allocations: 302.9 kB / 1.211 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0005186/1.202, allocations: 237.1 kB / 1.211 GB, free: 14.95 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.003104/1.205, allocations: 1.609 MB / 1.213 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 9.518e-06/1.205, allocations: 0 / 1.213 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of FrontEnd: time 4.548e-06/1.205, allocations: 4 kB / 1.213 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.358e-05/1.205, allocations: 0 / 1.213 GB, free: 13.33 MB / 0.9669 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.004227/1.209, allocations: 1.403 MB / 1.214 GB, free: 11.87 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/1.209, allocations: 11.98 kB / 1.214 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002869/1.212, allocations: 0.6074 MB / 1.215 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002373/1.215, allocations: 0.9563 MB / 1.215 GB, free: 10.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001031/1.216, allocations: 328.9 kB / 1.216 GB, free: 9.93 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/1.216, allocations: 71.98 kB / 1.216 GB, free: 9.859 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002616/1.219, allocations: 1.148 MB / 1.217 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/1.219, allocations: 0 / 1.217 GB, free: 8.68 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.873e-05/1.219, allocations: 28 kB / 1.217 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.826e-05/1.219, allocations: 33.3 kB / 1.217 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002972/1.222, allocations: 1.25 MB / 1.218 GB, free: 7.367 MB / 0.9669 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.005798/1.227, allocations: 3.248 MB / 1.221 GB, free: 4.043 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001591/1.229, allocations: 0.7076 MB / 1.222 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/1.23, allocations: 431.7 kB / 1.223 GB, free: 2.902 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009319/1.231, allocations: 1.025 MB / 1.224 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009896/1.232, allocations: 0.5298 MB / 1.224 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=57): time 2.304e-06/1.232, allocations: 0 / 1.224 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=57): time 0.002922/1.235, allocations: 1.236 MB / 1.225 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/1.235, allocations: 140.9 kB / 1.225 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/1.237, allocations: 1.208 MB / 1.227 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.048e-05/1.237, allocations: 37.7 kB / 1.227 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/1.237, allocations: 441.4 kB / 1.227 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001813/1.238, allocations: 189.2 kB / 1.227 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.735e-05/1.238, allocations: 16 kB / 1.227 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001373/1.238, allocations: 326 kB / 1.228 GB, free: 13.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/1.239, allocations: 484.9 kB / 1.228 GB, free: 12.98 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001332/1.24, allocations: 0.6367 MB / 1.229 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/1.242, allocations: 0.5346 MB / 1.229 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/1.242, allocations: 4 kB / 1.229 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003059/1.245, allocations: 1.284 MB / 1.23 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.625e-05/1.245, allocations: 41.7 kB / 1.23 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.245, allocations: 7.938 kB / 1.23 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/1.245, allocations: 8 kB / 1.23 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008938/1.246, allocations: 207.9 kB / 1.231 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/1.246, allocations: 15.92 kB / 1.231 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001514/1.247, allocations: 306.8 kB / 1.231 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.752e-05/1.247, allocations: 35.98 kB / 1.231 GB, free: 9.832 MB / 0.9825 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 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,$PRE.QSen_flow.nextEvent,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005618/1.248, allocations: 330.8 kB / 1.231 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/1.248, allocations: 114.6 kB / 1.231 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002014/1.25, allocations: 1.006 MB / 1.232 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.469e-05/1.25, allocations: 15.89 kB / 1.232 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/1.25, allocations: 0 / 1.232 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/1.25, allocations: 7.984 kB / 1.232 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00461/1.255, allocations: 3.173 MB / 1.236 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.255, allocations: 8 kB / 1.236 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005636/1.255, allocations: 124 kB / 1.236 GB, free: 4.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.687e-05/1.255, allocations: 12 kB / 1.236 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/1.255, allocations: 24 kB / 1.236 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.284e-05/1.255, allocations: 11.98 kB / 1.236 GB, free: 4.836 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/1.256, allocations: 11.94 kB / 1.236 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/1.258, allocations: 1.352 MB / 1.237 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/1.258, allocations: 331.3 kB / 1.237 GB, free: 3.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/1.258, allocations: 20 kB / 1.237 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/1.259, allocations: 135.9 kB / 1.237 GB, free: 2.863 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/1.26, allocations: 63.77 kB / 1.238 GB, free: 2.801 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.319e-05/1.26, allocations: 35.94 kB / 1.238 GB, free: 2.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001632/1.261, allocations: 0.8833 MB / 1.238 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.8e-07/1.261, allocations: 0 / 1.238 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001184/1.262, allocations: 287.9 kB / 1.239 GB, free: 1.594 MB / 0.9825 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 (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.0008145/1.263, allocations: 356.2 kB / 1.239 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002332/1.266, allocations: 1.049 MB / 1.24 GB, free: 188 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/1.266, allocations: 0 / 1.24 GB, free: 188 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008893/1.267, allocations: 0.5202 MB / 1.241 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002617/1.269, allocations: 0.5293 MB / 1.241 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003848/1.273, allocations: 2.328 MB / 1.243 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006758/1.274, allocations: 1.065 MB / 1.244 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/1.274, allocations: 95.39 kB / 1.244 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of SimCode: time 1.112e-06/1.274, allocations: 0 / 1.244 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of Templates: time 0.6952/1.969, allocations: 18.58 MB / 1.263 GB, free: 223.7 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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/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/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Interfaces.Examples.StaticTwoPortConservationEquationCalcHelperMain.o] Error 1