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.0007603/0.0007604, allocations: 98.64 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.0008377/0.0008381, allocations: 182.8 kB / 16.92 MB, free: 6.918 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.295/1.295, allocations: 223.2 MB / 240.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7233/0.7233, allocations: 132.3 MB / 424.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003418/0.0003418, allocations: 12.91 kB / 0.5046 GB, free: 3.883 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5037/0.504, allocations: 81.57 MB / 0.5843 GB, free: 4.023 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03049/0.5346, allocations: 28.45 MB / 0.6121 GB, free: 15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01168/0.5463, allocations: 6.828 MB / 0.6187 GB, free: 9.469 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001991/0.5483, allocations: 44.5 kB / 0.6188 GB, free: 9.445 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001865/0.5502, allocations: 0.5907 MB / 0.6194 GB, free: 9.027 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004656/0.5549, allocations: 1.346 MB / 0.6207 GB, free: 7.996 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003227/0.5581, allocations: 1.046 MB / 0.6217 GB, free: 7.242 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.004724/0.5629, allocations: 3.22 MB / 0.6248 GB, free: 5.469 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001555/0.5644, allocations: 0.7106 MB / 0.6255 GB, free: 5.02 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002833/0.5673, allocations: 0.9211 MB / 0.6264 GB, free: 4.508 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001898/0.5692, allocations: 0.8107 MB / 0.6272 GB, free: 4.059 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.5694, allocations: 36.91 kB / 0.6273 GB, free: 4.059 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002384/0.5718, allocations: 0.7576 MB / 0.628 GB, free: 3.582 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003099/0.5721, allocations: 258.9 kB / 0.6282 GB, free: 3.328 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006096/0.5727, allocations: 0.5376 MB / 0.6288 GB, free: 2.781 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001385/0.5741, allocations: 1.118 MB / 0.6299 GB, free: 1.66 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.5741, allocations: 4 kB / 0.6299 GB, free: 1.656 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.5741, allocations: 0 / 0.6299 GB, free: 1.656 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.045e-05/0.5741, allocations: 0 / 0.6299 GB, free: 1.656 MB / 462.1 MB 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.002214/0.5763, allocations: 1.36 MB / 0.6312 GB, free: 248 kB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.5764, allocations: 8.031 kB / 0.6312 GB, free: 240 kB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003298/0.5797, allocations: 0.6353 MB / 0.6318 GB, free: 15.6 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.581, allocations: 0.8092 MB / 0.6326 GB, free: 14.73 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.97e-05/0.5811, allocations: 54 kB / 0.6327 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.5812, allocations: 76 kB / 0.6327 GB, free: 14.61 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002335/0.5836, allocations: 1.107 MB / 0.6338 GB, free: 13.42 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.331e-05/0.5836, allocations: 7.938 kB / 0.6338 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.5837, allocations: 31.98 kB / 0.6339 GB, free: 13.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.778e-05/0.5837, allocations: 16 kB / 0.6339 GB, free: 13.36 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002898/0.5866, allocations: 1.024 MB / 0.6349 GB, free: 12.34 MB / 478.1 MB 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.005539/0.5922, allocations: 4.974 MB / 0.6397 GB, free: 7.074 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002784/0.595, allocations: 0.9621 MB / 0.6407 GB, free: 6.102 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/0.5964, allocations: 0.4892 MB / 0.6411 GB, free: 5.613 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001469/0.5979, allocations: 1.603 MB / 0.6427 GB, free: 3.66 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001648/0.5995, allocations: 0.5846 MB / 0.6433 GB, free: 3.066 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.966e-06/0.5995, allocations: 4 kB / 0.6433 GB, free: 3.062 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.004757/0.6043, allocations: 1.52 MB / 0.6448 GB, free: 1.539 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.671e-05/0.6044, allocations: 55.97 kB / 0.6448 GB, free: 1.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001319/0.6057, allocations: 1.108 MB / 0.6459 GB, free: 356 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.694e-05/0.6058, allocations: 45.7 kB / 0.6459 GB, free: 304 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000432/0.6062, allocations: 0.5472 MB / 0.6465 GB, free: 15.74 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001876/0.6064, allocations: 213.2 kB / 0.6467 GB, free: 15.53 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.6065, allocations: 65.69 kB / 0.6467 GB, free: 15.46 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001201/0.6067, allocations: 333.9 kB / 0.6471 GB, free: 15.13 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001417/0.6081, allocations: 465.6 kB / 0.6475 GB, free: 14.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.6097, allocations: 0.7242 MB / 0.6482 GB, free: 13.84 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002884/0.6126, allocations: 1.144 MB / 0.6493 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-05/0.6126, allocations: 7.938 kB / 0.6493 GB, free: 12.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003471/0.6161, allocations: 1.294 MB / 0.6506 GB, free: 11.28 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.6162, allocations: 8 kB / 0.6506 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.6162, allocations: 8 kB / 0.6506 GB, free: 11.27 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.6162, allocations: 12 kB / 0.6506 GB, free: 11.25 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.6174, allocations: 279.7 kB / 0.6509 GB, free: 10.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-05/0.6174, allocations: 15.94 kB / 0.6509 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.6187, allocations: 214.8 kB / 0.6511 GB, free: 10.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000112/0.6189, allocations: 43.98 kB / 0.6512 GB, free: 10.71 MB / 494.1 MB 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.0006046/0.6195, allocations: 301.2 kB / 0.6514 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000282/0.6198, allocations: 114.6 kB / 0.6516 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003992/0.6238, allocations: 1.381 MB / 0.6529 GB, free: 8.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.557e-05/0.6238, allocations: 12 kB / 0.6529 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/0.6238, allocations: 0 / 0.6529 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.375e-05/0.6239, allocations: 7.984 kB / 0.6529 GB, free: 8.902 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006055/0.6299, allocations: 2.397 MB / 0.6553 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/0.63, allocations: 3.938 kB / 0.6553 GB, free: 6.426 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.631, allocations: 195.9 kB / 0.6555 GB, free: 6.234 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.614e-05/0.631, allocations: 4 kB / 0.6555 GB, free: 6.23 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.933e-05/0.6311, allocations: 31.97 kB / 0.6555 GB, free: 6.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.24e-05/0.6311, allocations: 7.938 kB / 0.6555 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6312, allocations: 0 / 0.6555 GB, free: 6.191 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005042/0.6362, allocations: 2.012 MB / 0.6575 GB, free: 4.145 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000585/0.6368, allocations: 283.3 kB / 0.6577 GB, free: 3.848 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/0.6371, allocations: 19.98 kB / 0.6578 GB, free: 3.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/0.6382, allocations: 127.9 kB / 0.6579 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.6383, allocations: 60.41 kB / 0.6579 GB, free: 3.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.446e-05/0.6384, allocations: 31.97 kB / 0.658 GB, free: 3.613 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001087/0.6395, allocations: 0.7638 MB / 0.6587 GB, free: 2.844 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6395, allocations: 0 / 0.6587 GB, free: 2.844 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001395/0.6409, allocations: 347.6 kB / 0.659 GB, free: 2.504 MB / 494.1 MB 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.001702/0.6426, allocations: 0.6557 MB / 0.6597 GB, free: 2.043 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.646, allocations: 1.13 MB / 0.6608 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.519e-06/0.646, allocations: 0 / 0.6608 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001551/0.6476, allocations: 0.5815 MB / 0.6614 GB, free: 340 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002535/0.6501, allocations: 431.4 kB / 0.6618 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/0.6556, allocations: 2.851 MB / 0.6645 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007613/0.6564, allocations: 1.104 MB / 0.6656 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004664/0.6569, allocations: 119.4 kB / 0.6657 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of SimCode: time 1.463e-06/0.6569, allocations: 0 / 0.6657 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of Templates: time 0.03167/0.6885, allocations: 18.83 MB / 0.6841 GB, free: 9.137 MB / 0.5137 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