Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001463/0.001463, 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.001493/0.001493, allocations: 195.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.343/2.343, allocations: 222.9 MB / 240.4 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003771/0.003771, allocations: 286.6 kB / 290.9 MB, free: 2.207 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.902/1.902, allocations: 169.2 MB / 0.4983 GB, free: 14.15 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003574/0.003574, allocations: 90.36 kB / 0.5951 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3459/0.3495, allocations: 86.99 MB / 0.6801 GB, free: 1.16 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 1.271/1.62, allocations: 191.5 MB / 0.8671 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0181/1.638, allocations: 5.188 MB / 0.8722 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003911/1.642, allocations: 46.47 kB / 0.8722 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.008144/1.65, allocations: 0.7079 MB / 0.8729 GB, free: 10.8 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0128/1.663, allocations: 2.453 MB / 0.8753 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005141/1.669, allocations: 0.9989 MB / 0.8763 GB, free: 8.273 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01232/1.681, allocations: 3.616 MB / 0.8798 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003469/1.684, allocations: 0.8678 MB / 0.8807 GB, free: 5.754 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004402/1.689, allocations: 1.019 MB / 0.8817 GB, free: 5.219 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003592/1.693, allocations: 1.02 MB / 0.8827 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007563/1.693, allocations: 55.09 kB / 0.8827 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008679/1.702, allocations: 2.077 MB / 0.8847 GB, free: 3.457 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001576/1.704, allocations: 428.2 kB / 0.8852 GB, free: 3.188 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002698/1.706, allocations: 0.6331 MB / 0.8858 GB, free: 2.785 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.005532/1.712, allocations: 1.546 MB / 0.8873 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/1.712, allocations: 0 / 0.8873 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.903e-06/1.712, allocations: 2.531 kB / 0.8873 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.881e-05/1.712, allocations: 0 / 0.8873 GB, free: 1.852 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.0114/1.724, allocations: 1.958 MB / 0.8892 GB, free: 412 kB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.711e-05/1.724, allocations: 8.125 kB / 0.8892 GB, free: 412 kB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009025/1.733, allocations: 0.8977 MB / 0.8901 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003979/1.737, allocations: 0.9166 MB / 0.891 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001747/1.737, allocations: 67.62 kB / 0.891 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006549/1.738, allocations: 92.17 kB / 0.8911 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007078/1.745, allocations: 1.589 MB / 0.8927 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/1.745, allocations: 0 / 0.8927 GB, free: 14.11 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/1.745, allocations: 36 kB / 0.8927 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001189/1.745, allocations: 53.97 kB / 0.8928 GB, free: 14.03 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009973/1.755, allocations: 1.846 MB / 0.8946 GB, free: 12.18 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.02202/1.777, allocations: 4.73 MB / 0.8992 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01257/1.79, allocations: 1.553 MB / 0.9007 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005412/1.796, allocations: 0.8602 MB / 0.9015 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00199/1.798, allocations: 0.9374 MB / 0.9025 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003801/1.801, allocations: 0.9182 MB / 0.9034 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=95): time 5.701e-06/1.801, allocations: 0 / 0.9034 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of matching and sorting (n=95): time 0.01182/1.813, allocations: 2.45 MB / 0.9057 GB, free: 292 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/1.813, allocations: 64.41 kB / 0.9058 GB, free: 212 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002787/1.816, allocations: 1.197 MB / 0.907 GB, free: 15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002586/1.817, allocations: 49.7 kB / 0.907 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007544/1.817, allocations: 0.5409 MB / 0.9076 GB, free: 14.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005383/1.818, allocations: 323.3 kB / 0.9079 GB, free: 14.08 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005612/1.818, allocations: 194.5 kB / 0.908 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002277/1.819, allocations: 341.9 kB / 0.9084 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003198/1.822, allocations: 0.6966 MB / 0.9091 GB, free: 12.85 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003532/1.825, allocations: 0.905 MB / 0.9099 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006506/1.832, allocations: 1.561 MB / 0.9115 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.972e-05/1.832, allocations: 10 kB / 0.9115 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007893/1.84, allocations: 1.772 MB / 0.9132 GB, free: 8.465 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/1.84, allocations: 4.438 kB / 0.9132 GB, free: 8.461 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.905e-05/1.84, allocations: 4 kB / 0.9132 GB, free: 8.457 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.811e-05/1.84, allocations: 16 kB / 0.9132 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002862/1.843, allocations: 339.5 kB / 0.9136 GB, free: 8.109 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.25e-05/1.843, allocations: 11.94 kB / 0.9136 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/1.846, allocations: 266.6 kB / 0.9138 GB, free: 7.836 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002026/1.846, allocations: 47.97 kB / 0.9139 GB, free: 7.789 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.00102/1.847, allocations: 333 kB / 0.9142 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004659/1.848, allocations: 138.3 kB / 0.9143 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00782/1.856, allocations: 1.806 MB / 0.9161 GB, free: 5.508 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/1.856, allocations: 8 kB / 0.9161 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.184e-05/1.856, allocations: 0 / 0.9161 GB, free: 5.5 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.841e-05/1.856, allocations: 7.969 kB / 0.9161 GB, free: 5.492 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01165/1.867, allocations: 3.336 MB / 0.9193 GB, free: 2.051 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.867, allocations: 7.938 kB / 0.9194 GB, free: 2.043 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00247/1.87, allocations: 284.1 kB / 0.9196 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.112e-05/1.87, allocations: 12 kB / 0.9196 GB, free: 1.754 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001486/1.87, allocations: 32.84 kB / 0.9197 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.012e-05/1.87, allocations: 15.92 kB / 0.9197 GB, free: 1.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/1.87, allocations: 7.938 kB / 0.9197 GB, free: 1.699 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/1.881, allocations: 2.847 MB / 0.9225 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001309/1.883, allocations: 323.2 kB / 0.9228 GB, free: 14.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003545/1.883, allocations: 24 kB / 0.9228 GB, free: 14.43 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002222/1.885, allocations: 175.8 kB / 0.923 GB, free: 14.26 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002454/1.886, allocations: 80.44 kB / 0.923 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001584/1.886, allocations: 39.97 kB / 0.9231 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001843/1.888, allocations: 0.8315 MB / 0.9239 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.81e-07/1.888, allocations: 0 / 0.9239 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001913/1.89, allocations: 339.6 kB / 0.9242 GB, free: 12.97 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.002121/1.892, allocations: 0.5221 MB / 0.9247 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.007463/1.899, allocations: 1.63 MB / 0.9263 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/1.899, allocations: 4 kB / 0.9263 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003677/1.903, allocations: 0.8322 MB / 0.9271 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004966/1.908, allocations: 0.5915 MB / 0.9277 GB, free: 9.559 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01121/1.919, allocations: 3.47 MB / 0.9311 GB, free: 6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/1.921, allocations: 1.183 MB / 0.9323 GB, free: 4.785 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/1.922, allocations: 135.3 kB / 0.9324 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of SimCode: time 2.114e-06/1.922, allocations: 0 / 0.9324 GB, free: 4.656 MB / 0.6387 GB Notification: Performance of Templates: time 0.06208/1.984, allocations: 21.58 MB / 0.9535 GB, free: 15.23 MB / 0.67 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.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.PrescribedOutletCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutletCalcHelperMain.o] Error 1