Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.005503/0.005504, allocations: 100.9 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 193.1 kB / 16.79 MB, free: 5.809 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.301/1.301, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7126/0.7126, allocations: 132.2 MB / 422.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 60.06 kB / 0.5017 GB, free: 9.215 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1872, allocations: 80.22 MB / 0.58 GB, free: 9.219 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3316/0.5189, allocations: 29.15 MB / 0.6085 GB, free: 35.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008802/0.5278, allocations: 6.904 MB / 0.6152 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.5293, allocations: 46.06 kB / 0.6153 GB, free: 35.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.5309, allocations: 0.6019 MB / 0.6159 GB, free: 35.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003727/0.5347, allocations: 1.347 MB / 0.6172 GB, free: 35.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002844/0.5375, allocations: 1.048 MB / 0.6182 GB, free: 35.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003488/0.541, allocations: 3.217 MB / 0.6214 GB, free: 34.4 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001086/0.5421, allocations: 0.7218 MB / 0.6221 GB, free: 34.15 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001757/0.5439, allocations: 0.9385 MB / 0.623 GB, free: 33.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009026/0.5448, allocations: 0.8249 MB / 0.6238 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001036/0.5449, allocations: 42.97 kB / 0.6238 GB, free: 33.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001858/0.5468, allocations: 0.7683 MB / 0.6246 GB, free: 33.31 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/0.5471, allocations: 260.3 kB / 0.6248 GB, free: 33.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005154/0.5476, allocations: 0.5281 MB / 0.6253 GB, free: 32.89 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001336/0.5489, allocations: 1.135 MB / 0.6265 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.84e-06/0.5489, allocations: 3.156 kB / 0.6265 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of FrontEnd: time 7.51e-07/0.5489, allocations: 0 / 0.6265 GB, free: 32.6 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.216e-05/0.549, allocations: 0 / 0.6265 GB, free: 32.6 MB / 0.4981 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.002327/0.5513, allocations: 1.57 MB / 0.628 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.5514, allocations: 9.125 kB / 0.628 GB, free: 31.56 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00325/0.5546, allocations: 0.5879 MB / 0.6286 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.5557, allocations: 0.806 MB / 0.6294 GB, free: 30.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.268e-05/0.5558, allocations: 55.72 kB / 0.6294 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001148/0.5559, allocations: 78.09 kB / 0.6295 GB, free: 30.92 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/0.558, allocations: 1.103 MB / 0.6306 GB, free: 30.4 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.558, allocations: 7.219 kB / 0.6306 GB, free: 30.39 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.206e-05/0.5581, allocations: 29.95 kB / 0.6306 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.5581, allocations: 21.03 kB / 0.6306 GB, free: 30.37 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002616/0.5607, allocations: 1.003 MB / 0.6316 GB, free: 30.11 MB / 0.4981 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.004496/0.5652, allocations: 4.925 MB / 0.6364 GB, free: 26.32 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002587/0.5678, allocations: 0.9038 MB / 0.6373 GB, free: 26.07 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001231/0.5691, allocations: 490.8 kB / 0.6378 GB, free: 25.93 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.5701, allocations: 1.598 MB / 0.6393 GB, free: 24.12 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/0.5716, allocations: 0.5764 MB / 0.6399 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.905e-06/0.5716, allocations: 0 / 0.6399 GB, free: 23.94 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.00429/0.5759, allocations: 1.481 MB / 0.6413 GB, free: 23.52 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.576, allocations: 57.22 kB / 0.6414 GB, free: 23.45 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.5771, allocations: 1.12 MB / 0.6425 GB, free: 23.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.5772, allocations: 40.45 kB / 0.6425 GB, free: 23 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003323/0.5776, allocations: 0.5449 MB / 0.643 GB, free: 22.56 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.5777, allocations: 209.8 kB / 0.6432 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002368/0.578, allocations: 162.3 kB / 0.6434 GB, free: 22.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/0.578, allocations: 338.1 kB / 0.6437 GB, free: 22.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.5793, allocations: 445.7 kB / 0.6441 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001542/0.5809, allocations: 0.7213 MB / 0.6449 GB, free: 21.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.5837, allocations: 1.113 MB / 0.6459 GB, free: 20.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.574e-06/0.5838, allocations: 3.062 kB / 0.6459 GB, free: 20.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003747/0.5875, allocations: 1.275 MB / 0.6472 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.379e-05/0.5876, allocations: 8.75 kB / 0.6472 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/0.5876, allocations: 11 kB / 0.6472 GB, free: 20.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.214e-05/0.5876, allocations: 15.72 kB / 0.6472 GB, free: 20.46 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001216/0.5888, allocations: 271.1 kB / 0.6475 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.554e-05/0.5889, allocations: 16.14 kB / 0.6475 GB, free: 20.44 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001367/0.5903, allocations: 195.1 kB / 0.6477 GB, free: 20.37 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/0.5904, allocations: 47.61 kB / 0.6477 GB, free: 20.36 MB / 0.4981 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.0005452/0.5909, allocations: 294.4 kB / 0.648 GB, free: 20.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002211/0.5912, allocations: 123.9 kB / 0.6481 GB, free: 20.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004029/0.5952, allocations: 1.352 MB / 0.6494 GB, free: 19.69 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.543e-05/0.5952, allocations: 13.28 kB / 0.6495 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.854e-06/0.5952, allocations: 4.875 kB / 0.6495 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.271e-05/0.5953, allocations: 4.312 kB / 0.6495 GB, free: 19.68 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005511/0.6008, allocations: 2.379 MB / 0.6518 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.6008, allocations: 2.25 kB / 0.6518 GB, free: 18.68 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/0.602, allocations: 202.2 kB / 0.652 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-05/0.602, allocations: 4.281 kB / 0.652 GB, free: 18.65 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.984e-05/0.6021, allocations: 26.88 kB / 0.652 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/0.6021, allocations: 3.531 kB / 0.652 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/0.6021, allocations: 6.859 kB / 0.652 GB, free: 18.64 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005813/0.6079, allocations: 1.968 MB / 0.6539 GB, free: 17.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006308/0.6086, allocations: 275.3 kB / 0.6542 GB, free: 17.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.6088, allocations: 19.91 kB / 0.6542 GB, free: 17.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00099/0.6098, allocations: 123.1 kB / 0.6543 GB, free: 17.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.6099, allocations: 53.64 kB / 0.6544 GB, free: 17.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.453e-05/0.61, allocations: 34.03 kB / 0.6544 GB, free: 17.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001188/0.6112, allocations: 0.7638 MB / 0.6552 GB, free: 17.35 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6112, allocations: 3.938 kB / 0.6552 GB, free: 17.34 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001427/0.6126, allocations: 338.7 kB / 0.6555 GB, free: 17.27 MB / 0.4981 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.001622/0.6143, allocations: 0.6684 MB / 0.6562 GB, free: 17.04 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003634/0.6179, allocations: 1.107 MB / 0.6572 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.6179, allocations: 0 / 0.6572 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001721/0.6196, allocations: 0.5745 MB / 0.6578 GB, free: 16.6 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.6221, allocations: 429.3 kB / 0.6582 GB, free: 16.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.6279, allocations: 2.776 MB / 0.6609 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00082/0.6287, allocations: 1.104 MB / 0.662 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005239/0.6292, allocations: 117.6 kB / 0.6621 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of SimCode: time 9.22e-07/0.6292, allocations: 0 / 0.6621 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.03697/0.6662, allocations: 19 MB / 0.6807 GB, free: 7.441 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile make -j1 -f IDEAS_IDEAS.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 OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_WaterCalcHelperMain.o] Error 1