Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") translateModel(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008689/0.0008689, allocations: 102.9 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.0009097/0.0009097, 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.433/1.433, allocations: 223.3 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7917/0.7917, allocations: 132.3 MB / 424 MB, free: 2.109 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003381/0.0003381, allocations: 15.98 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5117, allocations: 81.57 MB / 0.5837 GB, free: 3.988 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.02971/0.5415, allocations: 28.05 MB / 0.6111 GB, free: 15.5 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01432/0.5558, allocations: 9.537 MB / 0.6204 GB, free: 7.816 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001772/0.5576, allocations: 37.12 kB / 0.6204 GB, free: 7.801 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001812/0.5595, allocations: 458.9 kB / 0.6209 GB, free: 7.441 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00364/0.5631, allocations: 1.202 MB / 0.622 GB, free: 6.5 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.566, allocations: 0.9861 MB / 0.623 GB, free: 5.871 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005176/0.5712, allocations: 3.248 MB / 0.6262 GB, free: 3.953 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.5728, allocations: 0.6913 MB / 0.6268 GB, free: 3.523 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002299/0.5751, allocations: 0.9367 MB / 0.6278 GB, free: 3.016 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.5765, allocations: 0.7392 MB / 0.6285 GB, free: 2.586 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.5766, allocations: 45.56 kB / 0.6285 GB, free: 2.566 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00169/0.5783, allocations: 0.5188 MB / 0.629 GB, free: 2.047 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003394/0.5787, allocations: 267 kB / 0.6293 GB, free: 1.785 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003356/0.579, allocations: 237.1 kB / 0.6295 GB, free: 1.547 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001654/0.5807, allocations: 1.368 MB / 0.6308 GB, free: 180 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.935e-05/0.5807, allocations: 0 / 0.6308 GB, free: 180 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.5807, allocations: 0 / 0.6308 GB, free: 180 kB / 462.1 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.5807, allocations: 0 / 0.6308 GB, free: 180 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002226/0.583, allocations: 1.31 MB / 0.6321 GB, free: 14.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.583, allocations: 19.91 kB / 0.6321 GB, free: 14.79 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008716/0.5839, allocations: 210.4 kB / 0.6323 GB, free: 14.58 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001574/0.5855, allocations: 0.9487 MB / 0.6333 GB, free: 13.59 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.229e-05/0.5855, allocations: 53.31 kB / 0.6333 GB, free: 13.54 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001136/0.5857, allocations: 75.98 kB / 0.6334 GB, free: 13.46 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001367/0.587, allocations: 0.7168 MB / 0.6341 GB, free: 12.72 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/0.5871, allocations: 4 kB / 0.6341 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.919e-05/0.5871, allocations: 20 kB / 0.6341 GB, free: 12.7 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.5872, allocations: 16 kB / 0.6341 GB, free: 12.68 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.5884, allocations: 0.5711 MB / 0.6347 GB, free: 12.11 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.004119/0.5926, allocations: 3.136 MB / 0.6377 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.5936, allocations: 431.5 kB / 0.6382 GB, free: 8.352 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.5941, allocations: 213.3 kB / 0.6384 GB, free: 8.141 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00205/0.5962, allocations: 1.537 MB / 0.6399 GB, free: 6.43 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006409/0.5969, allocations: 275.1 kB / 0.6401 GB, free: 6.148 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002039/0.5971, allocations: 51.52 kB / 0.6402 GB, free: 6.098 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.5971, allocations: 4 kB / 0.6402 GB, free: 6.094 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.001525/0.5986, allocations: 0.6116 MB / 0.6408 GB, free: 5.477 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.5987, allocations: 59.36 kB / 0.6408 GB, free: 5.406 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.5998, allocations: 0.8877 MB / 0.6417 GB, free: 4.496 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.5998, allocations: 33.7 kB / 0.6417 GB, free: 4.457 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/0.6003, allocations: 495.7 kB / 0.6422 GB, free: 3.965 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.467e-05/0.6004, allocations: 110.5 kB / 0.6423 GB, free: 3.855 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.6004, allocations: 12 kB / 0.6423 GB, free: 3.844 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.6005, allocations: 326 kB / 0.6426 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005061/0.601, allocations: 201 kB / 0.6428 GB, free: 3.324 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006561/0.6017, allocations: 419.5 kB / 0.6432 GB, free: 2.828 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000563/0.6023, allocations: 275.7 kB / 0.6435 GB, free: 2.555 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6023, allocations: 0 / 0.6435 GB, free: 2.555 MB / 478.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001413/0.6037, allocations: 0.7258 MB / 0.6442 GB, free: 1.816 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/0.6039, allocations: 292.4 kB / 0.6445 GB, free: 1.441 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.604, allocations: 4.078 kB / 0.6445 GB, free: 1.438 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.604, allocations: 15.95 kB / 0.6445 GB, free: 1.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005276/0.6045, allocations: 139.8 kB / 0.6446 GB, free: 1.285 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.6046, allocations: 15.92 kB / 0.6446 GB, free: 1.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.6052, allocations: 76.38 kB / 0.6447 GB, free: 1.195 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.319e-05/0.6053, allocations: 31.98 kB / 0.6447 GB, free: 1.164 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.031e-06/0.6053, allocations: 4 kB / 0.6448 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.6063, allocations: 0.5759 MB / 0.6453 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.6064, allocations: 4 kB / 0.6453 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.6064, allocations: 12 kB / 0.6453 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003996/0.6068, allocations: 119.8 kB / 0.6454 GB, free: 456 kB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.6068, allocations: 11.94 kB / 0.6455 GB, free: 444 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000484/0.6073, allocations: 56.77 kB / 0.6455 GB, free: 388 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-05/0.6073, allocations: 31.98 kB / 0.6455 GB, free: 356 kB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 62 * Array equations: 1 * Algorithm blocks: 1 * 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.0004497/0.6078, allocations: 361 kB / 0.6459 GB, free: 15.98 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.6079, allocations: 94.86 kB / 0.646 GB, free: 15.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001407/0.6093, allocations: 0.6295 MB / 0.6466 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.069e-05/0.6094, allocations: 7.938 kB / 0.6466 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.6094, allocations: 0 / 0.6466 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001089/0.6105, allocations: 0.6944 MB / 0.6473 GB, free: 14.48 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.002316/0.6128, allocations: 1.474 MB / 0.6487 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.6128, allocations: 4 kB / 0.6487 GB, free: 12.93 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.6132, allocations: 84 kB / 0.6488 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.6132, allocations: 4 kB / 0.6488 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.295e-05/0.6133, allocations: 19.81 kB / 0.6488 GB, free: 12.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.6133, allocations: 15.89 kB / 0.6488 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/0.6133, allocations: 3.938 kB / 0.6488 GB, free: 12.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001689/0.615, allocations: 0.9098 MB / 0.6497 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000273/0.6153, allocations: 219.8 kB / 0.6499 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.6154, allocations: 8 kB / 0.6499 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005019/0.6159, allocations: 59.91 kB / 0.65 GB, free: 11.57 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.317e-05/0.616, allocations: 39.84 kB / 0.65 GB, free: 11.53 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/0.616, allocations: 15.98 kB / 0.6501 GB, free: 11.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007702/0.6168, allocations: 0.6102 MB / 0.6507 GB, free: 10.89 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.6168, allocations: 4 kB / 0.6507 GB, free: 10.89 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001493/0.6183, allocations: 0.5146 MB / 0.6512 GB, free: 10.37 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * 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.0007499/0.6191, allocations: 343.5 kB / 0.6515 GB, free: 10.04 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001803/0.6209, allocations: 0.8868 MB / 0.6524 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.6209, allocations: 0 / 0.6524 GB, free: 9.129 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005497/0.6215, allocations: 252.8 kB / 0.6526 GB, free: 8.883 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.6234, allocations: 473.3 kB / 0.653 GB, free: 8.422 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003025/0.6264, allocations: 2.052 MB / 0.655 GB, free: 6.316 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006549/0.6271, allocations: 1.048 MB / 0.6561 GB, free: 5.234 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002206/0.6273, allocations: 83.41 kB / 0.6561 GB, free: 5.152 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.6273, allocations: 0 / 0.6561 GB, free: 5.152 MB / 494.1 MB Notification: Performance of Templates: time 0.0259/0.6532, allocations: 17.35 MB / 0.6731 GB, free: 3.996 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.PumpWithPulseControlCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControlCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControlCalcHelperMain.o] Error 1