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.0007344/0.0007343, allocations: 92.78 kB / 16.02 MB, free: 80 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.0008588/0.0008587, allocations: 179.5 kB / 16.92 MB, free: 6.652 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.305/1.305, allocations: 223.2 MB / 240.9 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7078/0.7078, allocations: 132.3 MB / 424.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002971, allocations: 8 kB / 0.5046 GB, free: 3.859 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4306/0.4309, allocations: 81.58 MB / 0.5843 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Examples.PumpWithPulseControl): time 0.03/0.461, allocations: 29.66 MB / 0.6132 GB, free: 14.04 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01478/0.4758, allocations: 10.14 MB / 0.6231 GB, free: 5.902 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.4778, allocations: 42.62 kB / 0.6232 GB, free: 5.883 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001931/0.4797, allocations: 0.5871 MB / 0.6238 GB, free: 5.438 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003877/0.4836, allocations: 1.36 MB / 0.6251 GB, free: 4.371 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.4867, allocations: 1.169 MB / 0.6262 GB, free: 3.551 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005455/0.4922, allocations: 3.829 MB / 0.63 GB, free: 1.453 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001322/0.4935, allocations: 0.7577 MB / 0.6307 GB, free: 0.7656 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002173/0.4957, allocations: 0.9685 MB / 0.6317 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009493/0.4966, allocations: 0.7582 MB / 0.6324 GB, free: 15.03 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 9.06e-05/0.4967, allocations: 36 kB / 0.6324 GB, free: 15 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.4988, allocations: 0.7332 MB / 0.6331 GB, free: 14.26 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003156/0.4992, allocations: 274.9 kB / 0.6334 GB, free: 13.99 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006361/0.4998, allocations: 0.534 MB / 0.6339 GB, free: 13.45 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00167/0.5015, allocations: 1.387 MB / 0.6353 GB, free: 12.06 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5015, allocations: 0 / 0.6353 GB, free: 12.06 MB / 478.1 MB Notification: Performance of FrontEnd: time 5.35e-06/0.5015, allocations: 0 / 0.6353 GB, free: 12.06 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.5015, allocations: 3.938 kB / 0.6353 GB, free: 12.05 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: 150 * Number of variables: 150 Notification: Performance of Generate backend data structure: time 0.002508/0.5041, allocations: 1.298 MB / 0.6366 GB, free: 10.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.5041, allocations: 8.031 kB / 0.6366 GB, free: 10.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009564/0.5051, allocations: 219.3 kB / 0.6368 GB, free: 10.47 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001708/0.5068, allocations: 0.9919 MB / 0.6377 GB, free: 9.441 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.814e-05/0.5069, allocations: 53.31 kB / 0.6378 GB, free: 9.391 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.507, allocations: 71.97 kB / 0.6379 GB, free: 9.32 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.5083, allocations: 0.7129 MB / 0.6386 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.5083, allocations: 0 / 0.6386 GB, free: 8.582 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.5084, allocations: 24 kB / 0.6386 GB, free: 8.559 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.5084, allocations: 16 kB / 0.6386 GB, free: 8.543 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001124/0.5095, allocations: 0.5359 MB / 0.6391 GB, free: 8.004 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.003822/0.5134, allocations: 3.085 MB / 0.6421 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009226/0.5143, allocations: 411.4 kB / 0.6425 GB, free: 4.316 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004086/0.5147, allocations: 189.3 kB / 0.6427 GB, free: 4.129 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001772/0.5165, allocations: 1.521 MB / 0.6442 GB, free: 2.434 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005332/0.5171, allocations: 239.2 kB / 0.6444 GB, free: 2.188 MB / 478.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001883/0.5173, allocations: 51.58 kB / 0.6445 GB, free: 2.137 MB / 478.1 MB Notification: Performance of pre-optimization done (n=32): time 2.033e-06/0.5173, allocations: 0 / 0.6445 GB, free: 2.137 MB / 478.1 MB Notification: Performance of matching and sorting (n=32): time 0.001366/0.5186, allocations: 0.5686 MB / 0.645 GB, free: 1.562 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.734e-05/0.5187, allocations: 59.34 kB / 0.6451 GB, free: 1.492 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00105/0.5198, allocations: 0.8916 MB / 0.6459 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.5198, allocations: 37.7 kB / 0.646 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.5202, allocations: 487.8 kB / 0.6464 GB, free: 52 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001053/0.5203, allocations: 106.5 kB / 0.6465 GB, free: 15.94 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.185e-05/0.5204, allocations: 53.69 kB / 0.6466 GB, free: 15.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.5205, allocations: 334 kB / 0.6469 GB, free: 15.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000447/0.521, allocations: 197 kB / 0.6471 GB, free: 15.36 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005869/0.5216, allocations: 410.6 kB / 0.6475 GB, free: 14.87 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009911/0.5226, allocations: 0.6036 MB / 0.6481 GB, free: 14.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5226, allocations: 0 / 0.6481 GB, free: 14.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001334/0.524, allocations: 0.7292 MB / 0.6488 GB, free: 13.44 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000207/0.5242, allocations: 287 kB / 0.6491 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/0.5242, allocations: 12 kB / 0.6491 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.281e-05/0.5242, allocations: 11.94 kB / 0.6491 GB, free: 13.05 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004821/0.5247, allocations: 135.7 kB / 0.6492 GB, free: 12.92 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.963e-05/0.5247, allocations: 11.98 kB / 0.6492 GB, free: 12.91 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005941/0.5253, allocations: 56.56 kB / 0.6493 GB, free: 12.85 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.5254, allocations: 35.98 kB / 0.6493 GB, free: 12.82 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.373e-06/0.5254, allocations: 4 kB / 0.6493 GB, free: 12.81 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.5264, allocations: 0.5757 MB / 0.6499 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.817e-06/0.5265, allocations: 7.984 kB / 0.6499 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.385e-06/0.5265, allocations: 8 kB / 0.6499 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004228/0.5269, allocations: 123.8 kB / 0.65 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5269, allocations: 11.98 kB / 0.65 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004706/0.5274, allocations: 56.5 kB / 0.6501 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.675e-05/0.5275, allocations: 39.86 kB / 0.6501 GB, free: 11.99 MB / 494.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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004546/0.5279, allocations: 356.9 kB / 0.6505 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001007/0.528, allocations: 90.88 kB / 0.6506 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001231/0.5293, allocations: 0.6027 MB / 0.6511 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.5293, allocations: 4 kB / 0.6511 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5293, allocations: 0 / 0.6511 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009441/0.5303, allocations: 0.6632 MB / 0.6518 GB, free: 10.2 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.002141/0.5324, allocations: 1.432 MB / 0.6532 GB, free: 8.691 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.5324, allocations: 7.938 kB / 0.6532 GB, free: 8.684 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003433/0.5328, allocations: 79.88 kB / 0.6533 GB, free: 8.605 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/0.5328, allocations: 8.125 kB / 0.6533 GB, free: 8.598 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.963e-05/0.5328, allocations: 11.98 kB / 0.6533 GB, free: 8.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.5328, allocations: 7.938 kB / 0.6533 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.5329, allocations: 0 / 0.6533 GB, free: 8.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001496/0.5344, allocations: 0.8542 MB / 0.6541 GB, free: 7.695 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002641/0.5346, allocations: 219.7 kB / 0.6543 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.616e-05/0.5347, allocations: 16 kB / 0.6544 GB, free: 7.445 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004527/0.5352, allocations: 44.02 kB / 0.6544 GB, free: 7.402 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.375e-05/0.5353, allocations: 31.95 kB / 0.6544 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.5353, allocations: 19.98 kB / 0.6545 GB, free: 7.352 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007422/0.5361, allocations: 0.6102 MB / 0.6551 GB, free: 6.73 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.242e-06/0.5361, allocations: 0 / 0.6551 GB, free: 6.73 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001393/0.5375, allocations: 0.5107 MB / 0.6555 GB, free: 6.219 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 (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.0007827/0.5383, allocations: 345.9 kB / 0.6559 GB, free: 5.883 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001635/0.5399, allocations: 0.8717 MB / 0.6567 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.5399, allocations: 4.25 kB / 0.6567 GB, free: 4.984 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004573/0.5404, allocations: 219.8 kB / 0.6569 GB, free: 4.77 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002137/0.5426, allocations: 476.2 kB / 0.6574 GB, free: 4.309 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002869/0.5454, allocations: 2.048 MB / 0.6594 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006405/0.5461, allocations: 1.048 MB / 0.6604 GB, free: 1.129 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00023/0.5463, allocations: 87.39 kB / 0.6605 GB, free: 1.043 MB / 494.1 MB Notification: Performance of SimCode: time 1.343e-06/0.5463, allocations: 0 / 0.6605 GB, free: 1.043 MB / 494.1 MB Notification: Performance of Templates: time 0.02456/0.5709, allocations: 17.2 MB / 0.6773 GB, free: 24 kB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.makefile make -j1 -f IDEAS_IDEAS.Fluid.Movers.Examples.PumpWithPulseControl.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.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