Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") translateModel(IDEAS.Fluid.Movers.Examples.PumpExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008961, allocations: 102.7 kB / 15.71 MB, free: 460 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.001167/0.001168, allocations: 175.6 kB / 16.58 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 1.447/1.447, allocations: 223.2 MB / 240.6 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7779/0.7779, allocations: 132.3 MB / 424.1 MB, free: 2.098 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003291, allocations: 8.812 kB / 0.504 GB, free: 4.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5525, allocations: 81.58 MB / 0.5837 GB, free: 4.012 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpExample): time 0.03079/0.5834, allocations: 28.13 MB / 0.6111 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01506/0.5985, allocations: 9.597 MB / 0.6205 GB, free: 7.754 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.6008, allocations: 33.75 kB / 0.6205 GB, free: 7.742 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.6027, allocations: 468.2 kB / 0.621 GB, free: 7.375 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004256/0.607, allocations: 1.216 MB / 0.6222 GB, free: 6.422 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.6105, allocations: 1.007 MB / 0.6232 GB, free: 5.781 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.6161, allocations: 3.331 MB / 0.6264 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.618, allocations: 0.7202 MB / 0.6271 GB, free: 3.359 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.6207, allocations: 0.9547 MB / 0.628 GB, free: 2.844 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.6226, allocations: 0.7635 MB / 0.6288 GB, free: 2.344 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000311/0.6229, allocations: 40 kB / 0.6288 GB, free: 2.305 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002113/0.6251, allocations: 0.5344 MB / 0.6294 GB, free: 1.77 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005272/0.6256, allocations: 283 kB / 0.6296 GB, free: 1.492 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005145/0.6261, allocations: 249.1 kB / 0.6299 GB, free: 1.242 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001921/0.6281, allocations: 1.426 MB / 0.6313 GB, free: 15.81 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.6281, allocations: 0 / 0.6313 GB, free: 15.81 MB / 478.1 MB Notification: Performance of FrontEnd: time 3.076e-06/0.6281, allocations: 4 kB / 0.6313 GB, free: 15.8 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.238e-05/0.6281, allocations: 0 / 0.6313 GB, free: 15.8 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002296/0.6304, allocations: 1.343 MB / 0.6326 GB, free: 14.41 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.6305, allocations: 8.031 kB / 0.6326 GB, free: 14.4 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008871/0.6314, allocations: 218.4 kB / 0.6328 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001688/0.6331, allocations: 0.9994 MB / 0.6338 GB, free: 13.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.923e-05/0.6331, allocations: 57.5 kB / 0.6338 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/0.6332, allocations: 72 kB / 0.6339 GB, free: 13.02 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.6346, allocations: 0.748 MB / 0.6346 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.6346, allocations: 0 / 0.6346 GB, free: 12.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.53e-05/0.6347, allocations: 28 kB / 0.6346 GB, free: 12.22 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.357e-05/0.6348, allocations: 21.31 kB / 0.6347 GB, free: 12.2 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001227/0.636, allocations: 0.5868 MB / 0.6352 GB, free: 11.61 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.004098/0.6401, allocations: 3.229 MB / 0.6384 GB, free: 8.188 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.6413, allocations: 493.9 kB / 0.6389 GB, free: 7.699 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004552/0.6417, allocations: 218.1 kB / 0.6391 GB, free: 7.484 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/0.6438, allocations: 1.588 MB / 0.6406 GB, free: 5.723 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005797/0.6444, allocations: 278.9 kB / 0.6409 GB, free: 5.438 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002099/0.6446, allocations: 55.52 kB / 0.6409 GB, free: 5.383 MB / 478.1 MB Notification: Performance of pre-optimization done (n=38): time 2.344e-06/0.6446, allocations: 3.938 kB / 0.6409 GB, free: 5.379 MB / 478.1 MB Notification: Performance of matching and sorting (n=38): time 0.001466/0.6461, allocations: 0.6382 MB / 0.6416 GB, free: 4.734 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.6461, allocations: 63.11 kB / 0.6416 GB, free: 4.66 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001201/0.6473, allocations: 0.9296 MB / 0.6425 GB, free: 3.711 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.594e-05/0.6474, allocations: 37.7 kB / 0.6426 GB, free: 3.668 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004286/0.6478, allocations: 0.4958 MB / 0.6431 GB, free: 3.168 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001202/0.648, allocations: 142 kB / 0.6432 GB, free: 3.027 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/0.648, allocations: 8 kB / 0.6432 GB, free: 3.02 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.6481, allocations: 330 kB / 0.6435 GB, free: 2.691 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004639/0.6486, allocations: 209.2 kB / 0.6437 GB, free: 2.488 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.6492, allocations: 421.4 kB / 0.6441 GB, free: 1.984 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005277/0.6498, allocations: 261.7 kB / 0.6444 GB, free: 1.73 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.6498, allocations: 4 kB / 0.6444 GB, free: 1.727 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001369/0.6512, allocations: 0.7161 MB / 0.6451 GB, free: 1.004 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001922/0.6514, allocations: 275.7 kB / 0.6453 GB, free: 0.6484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-05/0.6514, allocations: 4 kB / 0.6453 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.135e-05/0.6514, allocations: 23.94 kB / 0.6454 GB, free: 0.6211 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.652, allocations: 147.8 kB / 0.6455 GB, free: 488 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.925e-05/0.652, allocations: 11.94 kB / 0.6455 GB, free: 476 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000711/0.6528, allocations: 72.44 kB / 0.6456 GB, free: 404 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.6528, allocations: 35.98 kB / 0.6456 GB, free: 368 kB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.685e-06/0.6529, allocations: 4 kB / 0.6456 GB, free: 364 kB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009551/0.6538, allocations: 0.5501 MB / 0.6462 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.6538, allocations: 8 kB / 0.6462 GB, free: 15.8 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.6539, allocations: 11.94 kB / 0.6462 GB, free: 15.79 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.6543, allocations: 139.8 kB / 0.6463 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.6543, allocations: 11.94 kB / 0.6463 GB, free: 15.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005392/0.6549, allocations: 56.8 kB / 0.6464 GB, free: 15.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.058e-05/0.655, allocations: 28 kB / 0.6464 GB, free: 15.55 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 70 * Array equations: 1 * 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.0005451/0.6555, allocations: 376.8 kB / 0.6468 GB, free: 15.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001167/0.6556, allocations: 98.78 kB / 0.6468 GB, free: 15.08 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.657, allocations: 0.655 MB / 0.6475 GB, free: 14.41 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/0.6571, allocations: 4 kB / 0.6475 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.6571, allocations: 0 / 0.6475 GB, free: 14.4 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.6582, allocations: 0.717 MB / 0.6482 GB, free: 13.62 MB / 494.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 postOpt removeSimpleEquations (simulation): time 0.002455/0.6606, allocations: 1.569 MB / 0.6497 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6607, allocations: 0 / 0.6497 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004175/0.6611, allocations: 96 kB / 0.6498 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.452e-06/0.6611, allocations: 0 / 0.6498 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.336e-05/0.6611, allocations: 19.98 kB / 0.6498 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.6612, allocations: 7.953 kB / 0.6498 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.6612, allocations: 0 / 0.6498 GB, free: 11.85 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001686/0.6629, allocations: 0.9482 MB / 0.6508 GB, free: 10.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003031/0.6632, allocations: 235.8 kB / 0.651 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.6633, allocations: 12 kB / 0.651 GB, free: 10.61 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00053/0.6638, allocations: 59.84 kB / 0.6511 GB, free: 10.55 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.173e-05/0.6639, allocations: 35.91 kB / 0.6511 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.45e-05/0.664, allocations: 19.98 kB / 0.6511 GB, free: 10.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008782/0.6649, allocations: 0.635 MB / 0.6517 GB, free: 9.852 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.7e-07/0.6649, allocations: 3.938 kB / 0.6517 GB, free: 9.848 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00159/0.6665, allocations: 0.5263 MB / 0.6523 GB, free: 9.32 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * 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.0008224/0.6673, allocations: 359.3 kB / 0.6526 GB, free: 8.973 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001662/0.669, allocations: 0.8125 MB / 0.6534 GB, free: 8.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.669, allocations: 0 / 0.6534 GB, free: 8.164 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005151/0.6695, allocations: 251.7 kB / 0.6536 GB, free: 7.918 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.6715, allocations: 488.9 kB / 0.6541 GB, free: 7.449 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00313/0.6746, allocations: 2.22 MB / 0.6563 GB, free: 5.18 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.6753, allocations: 1.076 MB / 0.6573 GB, free: 4.074 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.6755, allocations: 91.39 kB / 0.6574 GB, free: 3.984 MB / 494.1 MB Notification: Performance of SimCode: time 7.42e-07/0.6755, allocations: 0 / 0.6574 GB, free: 3.984 MB / 494.1 MB Notification: Performance of Templates: time 0.02816/0.7037, allocations: 18.04 MB / 0.675 GB, free: 2.129 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.makefile make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpExample.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.Movers.Examples.PumpExampleCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Movers.Examples.PumpExampleCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Movers.Examples.PumpExampleCalcHelperMain.o] Error 1