Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009128/0.0009128, allocations: 97.78 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.001021/0.001021, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001718/0.001718, allocations: 266.9 kB / 292.3 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9386/0.9386, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004174/0.0004174, allocations: 14.92 kB / 0.5993 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1693, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0267/0.1961, allocations: 28.43 MB / 0.7135 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009693/0.2058, allocations: 6.824 MB / 0.7202 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.207, allocations: 39.69 kB / 0.7202 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001418/0.2084, allocations: 0.5988 MB / 0.7208 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/0.2116, allocations: 1.342 MB / 0.7221 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002395/0.214, allocations: 1.042 MB / 0.7231 GB, free: 8.699 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00321/0.2172, allocations: 3.229 MB / 0.7263 GB, free: 5.457 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009431/0.2182, allocations: 0.714 MB / 0.727 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.2196, allocations: 0.9178 MB / 0.7279 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.2206, allocations: 0.8168 MB / 0.7287 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.356e-05/0.2207, allocations: 44 kB / 0.7287 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001485/0.2222, allocations: 0.756 MB / 0.7295 GB, free: 2.188 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000238/0.2224, allocations: 247 kB / 0.7297 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004742/0.2229, allocations: 0.5452 MB / 0.7302 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.2241, allocations: 1.122 MB / 0.7313 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2241, allocations: 0 / 0.7313 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.613e-06/0.2241, allocations: 0 / 0.7313 GB, free: 272 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.2241, allocations: 0 / 0.7313 GB, free: 272 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002234/0.2263, allocations: 1.366 MB / 0.7327 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.2264, allocations: 8.031 kB / 0.7327 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00339/0.2298, allocations: 0.6315 MB / 0.7333 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.2309, allocations: 0.8056 MB / 0.7341 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.843e-05/0.2309, allocations: 54.38 kB / 0.7341 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001261/0.2311, allocations: 75.94 kB / 0.7342 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002389/0.2335, allocations: 1.119 MB / 0.7353 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.2335, allocations: 0 / 0.7353 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.95e-05/0.2336, allocations: 31.98 kB / 0.7353 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.2336, allocations: 20 kB / 0.7353 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003053/0.2367, allocations: 1.024 MB / 0.7363 GB, free: 10.95 MB / 0.5294 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.005419/0.2421, allocations: 4.97 MB / 0.7412 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/0.245, allocations: 0.9568 MB / 0.7421 GB, free: 4.727 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.2464, allocations: 0.4896 MB / 0.7426 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001394/0.2478, allocations: 1.607 MB / 0.7442 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001604/0.2495, allocations: 0.5846 MB / 0.7448 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.036e-06/0.2495, allocations: 0 / 0.7448 GB, free: 1.684 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.004713/0.2542, allocations: 1.528 MB / 0.7462 GB, free: 152 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.2542, allocations: 59.97 kB / 0.7463 GB, free: 80 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00126/0.2555, allocations: 1.112 MB / 0.7474 GB, free: 14.95 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 7.526e-05/0.2556, allocations: 45.7 kB / 0.7474 GB, free: 14.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.256, allocations: 0.5396 MB / 0.748 GB, free: 14.36 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000188/0.2562, allocations: 213 kB / 0.7482 GB, free: 14.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.2563, allocations: 61.69 kB / 0.7482 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2565, allocations: 341.9 kB / 0.7485 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/0.2579, allocations: 457.6 kB / 0.749 GB, free: 13.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001604/0.2595, allocations: 0.7284 MB / 0.7497 GB, free: 12.45 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002898/0.2624, allocations: 1.14 MB / 0.7508 GB, free: 11.2 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.2624, allocations: 0 / 0.7508 GB, free: 11.2 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003435/0.2659, allocations: 1.31 MB / 0.7521 GB, free: 9.887 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.2659, allocations: 8 kB / 0.7521 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.2659, allocations: 8 kB / 0.7521 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.434e-05/0.266, allocations: 16.09 kB / 0.7521 GB, free: 9.855 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.2671, allocations: 279.5 kB / 0.7524 GB, free: 9.582 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.815e-05/0.2672, allocations: 15.94 kB / 0.7524 GB, free: 9.566 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00119/0.2683, allocations: 199 kB / 0.7526 GB, free: 9.371 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.412e-05/0.2685, allocations: 47.98 kB / 0.7526 GB, free: 9.324 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * 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.0004431/0.2689, allocations: 300.4 kB / 0.7529 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001377/0.269, allocations: 122.4 kB / 0.753 GB, free: 8.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/0.2727, allocations: 1.382 MB / 0.7544 GB, free: 7.516 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.2727, allocations: 8 kB / 0.7544 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2728, allocations: 0 / 0.7544 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.2728, allocations: 3.984 kB / 0.7544 GB, free: 7.504 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004728/0.2775, allocations: 2.397 MB / 0.7567 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.2775, allocations: 0 / 0.7567 GB, free: 5.031 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009804/0.2785, allocations: 191.9 kB / 0.7569 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.227e-06/0.2785, allocations: 4 kB / 0.7569 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-05/0.2786, allocations: 35.97 kB / 0.757 GB, free: 4.805 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-06/0.2786, allocations: 4 kB / 0.757 GB, free: 4.801 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2786, allocations: 3.938 kB / 0.757 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004917/0.2835, allocations: 2.004 MB / 0.7589 GB, free: 2.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004348/0.284, allocations: 279.4 kB / 0.7592 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001342/0.2841, allocations: 19.98 kB / 0.7592 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009411/0.2851, allocations: 127.8 kB / 0.7593 GB, free: 2.316 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.2852, allocations: 64.36 kB / 0.7594 GB, free: 2.254 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.2853, allocations: 31.97 kB / 0.7594 GB, free: 2.223 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008766/0.2862, allocations: 0.7638 MB / 0.7602 GB, free: 1.453 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2862, allocations: 3.938 kB / 0.7602 GB, free: 1.449 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001062/0.2872, allocations: 343.6 kB / 0.7605 GB, free: 1.113 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001494/0.2887, allocations: 0.6648 MB / 0.7612 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003268/0.292, allocations: 1.134 MB / 0.7623 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.292, allocations: 0 / 0.7623 GB, free: 15.48 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001591/0.2936, allocations: 0.5892 MB / 0.7628 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.2959, allocations: 433 kB / 0.7632 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004967/0.3009, allocations: 2.844 MB / 0.766 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006345/0.3015, allocations: 1.104 MB / 0.7671 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003805/0.3019, allocations: 123.3 kB / 0.7672 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of SimCode: time 1.192e-06/0.3019, allocations: 0 / 0.7672 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of Templates: time 0.3645/0.6665, allocations: 18.84 MB / 0.7856 GB, free: 85.54 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.PrescribedOutlet_WaterCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o] Error 1