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.0008337/0.0008338, allocations: 100.5 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.0008632/0.0008631, allocations: 174.9 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.401/1.401, allocations: 223.3 MB / 240.6 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7921/0.7921, allocations: 132.3 MB / 424 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003901/0.0003901, allocations: 8.562 kB / 0.504 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5916/0.592, allocations: 81.57 MB / 0.5837 GB, free: 4.238 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03351/0.6255, allocations: 26.93 MB / 0.61 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.6408, allocations: 6.467 MB / 0.6163 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00267/0.6436, allocations: 45.53 kB / 0.6163 GB, free: 11.34 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.646, allocations: 0.5565 MB / 0.6169 GB, free: 10.94 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004814/0.6508, allocations: 1.184 MB / 0.618 GB, free: 10.03 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003538/0.6544, allocations: 0.9387 MB / 0.6189 GB, free: 9.375 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005063/0.6594, allocations: 2.762 MB / 0.6216 GB, free: 7.73 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00185/0.6613, allocations: 0.6457 MB / 0.6223 GB, free: 7.324 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002805/0.6641, allocations: 0.8924 MB / 0.6231 GB, free: 6.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.6662, allocations: 0.7514 MB / 0.6239 GB, free: 6.422 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003624/0.6666, allocations: 40.44 kB / 0.6239 GB, free: 6.418 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00234/0.669, allocations: 496.4 kB / 0.6244 GB, free: 6.188 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003543/0.6693, allocations: 241.8 kB / 0.6246 GB, free: 6.023 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005025/0.6698, allocations: 238.1 kB / 0.6248 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.6714, allocations: 1.03 MB / 0.6259 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.6714, allocations: 0 / 0.6259 GB, free: 5.23 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.963e-06/0.6714, allocations: 1.156 kB / 0.6259 GB, free: 5.23 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.352e-05/0.6714, allocations: 0 / 0.6259 GB, free: 5.23 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.002593/0.674, allocations: 1.372 MB / 0.6272 GB, free: 4.066 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.6741, allocations: 12.03 kB / 0.6272 GB, free: 4.055 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00301/0.6771, allocations: 0.6305 MB / 0.6278 GB, free: 3.422 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.6785, allocations: 0.7701 MB / 0.6286 GB, free: 2.598 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.643e-05/0.6785, allocations: 54 kB / 0.6286 GB, free: 2.543 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/0.6787, allocations: 76 kB / 0.6287 GB, free: 2.469 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002226/0.6809, allocations: 1.111 MB / 0.6298 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6809, allocations: 0 / 0.6298 GB, free: 1.277 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.258e-05/0.681, allocations: 28 kB / 0.6298 GB, free: 1.25 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.029e-05/0.681, allocations: 20 kB / 0.6298 GB, free: 1.23 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002932/0.684, allocations: 1.02 MB / 0.6308 GB, free: 212 kB / 462.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.005645/0.6896, allocations: 4.967 MB / 0.6357 GB, free: 10.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002547/0.6922, allocations: 0.9537 MB / 0.6366 GB, free: 9.988 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/0.6935, allocations: 498.2 kB / 0.6371 GB, free: 9.496 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001463/0.6949, allocations: 1.604 MB / 0.6386 GB, free: 7.543 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.6964, allocations: 0.5807 MB / 0.6392 GB, free: 6.953 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.145e-06/0.6964, allocations: 0 / 0.6392 GB, free: 6.953 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.00426/0.7007, allocations: 1.528 MB / 0.6407 GB, free: 5.422 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.7008, allocations: 55.97 kB / 0.6408 GB, free: 5.355 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001399/0.7022, allocations: 1.104 MB / 0.6418 GB, free: 4.238 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.073e-05/0.7022, allocations: 45.69 kB / 0.6419 GB, free: 4.188 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004449/0.7027, allocations: 0.5357 MB / 0.6424 GB, free: 3.645 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.7029, allocations: 213 kB / 0.6426 GB, free: 3.434 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/0.703, allocations: 16 kB / 0.6426 GB, free: 3.418 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.7031, allocations: 341.9 kB / 0.6429 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.7044, allocations: 453.6 kB / 0.6434 GB, free: 2.633 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001444/0.7058, allocations: 0.7203 MB / 0.6441 GB, free: 1.805 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001291/0.7071, allocations: 0.5056 MB / 0.6446 GB, free: 1.297 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7071, allocations: 0 / 0.6446 GB, free: 1.297 MB / 478.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003123/0.7103, allocations: 1.282 MB / 0.6458 GB, free: 4 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.801e-05/0.7103, allocations: 10.39 kB / 0.6458 GB, free: 15.99 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.7103, allocations: 8 kB / 0.6458 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.701e-05/0.7104, allocations: 12 kB / 0.6459 GB, free: 15.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.7115, allocations: 283.7 kB / 0.6461 GB, free: 15.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.691e-05/0.7115, allocations: 19.98 kB / 0.6461 GB, free: 15.68 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.7127, allocations: 206.9 kB / 0.6463 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.776e-05/0.7128, allocations: 51.97 kB / 0.6464 GB, free: 15.43 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005021/0.7133, allocations: 293.2 kB / 0.6467 GB, free: 15.13 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.7134, allocations: 118.5 kB / 0.6468 GB, free: 15.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003356/0.7168, allocations: 1.381 MB / 0.6481 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.7168, allocations: 12 kB / 0.6481 GB, free: 13.63 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.7169, allocations: 7.938 kB / 0.6482 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.7169, allocations: 0 / 0.6482 GB, free: 13.62 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004521/0.7214, allocations: 2.393 MB / 0.6505 GB, free: 11.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.7214, allocations: 4 kB / 0.6505 GB, free: 11.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009089/0.7223, allocations: 203.9 kB / 0.6507 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.7224, allocations: 4 kB / 0.6507 GB, free: 10.95 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.413e-05/0.7224, allocations: 23.97 kB / 0.6507 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.374e-06/0.7224, allocations: 4 kB / 0.6507 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.7225, allocations: 4 kB / 0.6507 GB, free: 10.92 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004427/0.7269, allocations: 2.001 MB / 0.6527 GB, free: 8.883 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000484/0.7274, allocations: 287.3 kB / 0.653 GB, free: 8.582 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001386/0.7275, allocations: 15.98 kB / 0.653 GB, free: 8.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008564/0.7284, allocations: 131.8 kB / 0.6531 GB, free: 8.438 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.7285, allocations: 52.48 kB / 0.6531 GB, free: 8.387 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/0.7286, allocations: 35.92 kB / 0.6532 GB, free: 8.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.7297, allocations: 0.756 MB / 0.6539 GB, free: 7.59 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.7297, allocations: 0 / 0.6539 GB, free: 7.59 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001172/0.7309, allocations: 339.6 kB / 0.6542 GB, free: 7.258 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 (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.001464/0.7324, allocations: 0.6384 MB / 0.6549 GB, free: 6.812 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00303/0.7354, allocations: 1.13 MB / 0.656 GB, free: 5.684 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.7354, allocations: 3.938 kB / 0.656 GB, free: 5.68 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.7369, allocations: 0.5853 MB / 0.6565 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.7389, allocations: 426.5 kB / 0.6569 GB, free: 4.684 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004994/0.7439, allocations: 2.748 MB / 0.6596 GB, free: 1.887 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006879/0.7446, allocations: 1.1 MB / 0.6607 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004098/0.745, allocations: 119.4 kB / 0.6608 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of SimCode: time 1.293e-06/0.745, allocations: 0 / 0.6608 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of Templates: time 0.03115/0.7762, allocations: 18.83 MB / 0.6792 GB, free: 14 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++ 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 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