Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") translateModel(IDEAS.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00107/0.00107, allocations: 96.14 kB / 15.87 MB, free: 16 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.001044/0.001044, allocations: 194.7 kB / 16.79 MB, free: 6.812 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.277/1.277, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6983/0.6983, allocations: 132.2 MB / 422.8 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001096/0.001096, allocations: 55.22 kB / 0.5017 GB, free: 9.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1627, allocations: 80.21 MB / 0.58 GB, free: 9.246 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.5003/0.6631, allocations: 159.2 MB / 0.7355 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.6665, allocations: 1.72 MB / 0.7372 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.667, allocations: 10 kB / 0.7372 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0007468/0.6678, allocations: 135.1 kB / 0.7374 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001699/0.6696, allocations: 497.6 kB / 0.7378 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001329/0.6709, allocations: 373.2 kB / 0.7382 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001195/0.6721, allocations: 0.7603 MB / 0.7389 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003478/0.6725, allocations: 153.4 kB / 0.7391 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006873/0.6732, allocations: 300.3 kB / 0.7394 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.6734, allocations: 151.8 kB / 0.7395 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.323e-05/0.6734, allocations: 10.72 kB / 0.7395 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.6747, allocations: 0.7784 MB / 0.7403 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001012/0.6748, allocations: 73.2 kB / 0.7403 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.6749, allocations: 113.2 kB / 0.7405 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004688/0.6754, allocations: 353.2 kB / 0.7408 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.686e-06/0.6754, allocations: 3.938 kB / 0.7408 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.52e-07/0.6754, allocations: 0 / 0.7408 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.6754, allocations: 4 kB / 0.7408 GB, free: 11.65 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008533/0.6763, allocations: 0.5849 MB / 0.7414 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.6763, allocations: 10.81 kB / 0.7414 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003403/0.6767, allocations: 56.3 kB / 0.7414 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.677, allocations: 287.2 kB / 0.7417 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.6771, allocations: 9.375 kB / 0.7417 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.6771, allocations: 14.56 kB / 0.7417 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003861/0.6775, allocations: 197.8 kB / 0.7419 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.6775, allocations: 3.984 kB / 0.7419 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.972e-05/0.6776, allocations: 6.469 kB / 0.7419 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.6776, allocations: 2.938 kB / 0.7419 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.6779, allocations: 126.4 kB / 0.7421 GB, free: 10.6 MB / 0.5606 GB 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.001045/0.6789, allocations: 0.7817 MB / 0.7428 GB, free: 9.883 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002667/0.6792, allocations: 85.22 kB / 0.7429 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/0.6794, allocations: 82.48 kB / 0.743 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003794/0.6798, allocations: 181.5 kB / 0.7432 GB, free: 9.594 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.6798, allocations: 43.89 kB / 0.7432 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.6798, allocations: 0 / 0.7432 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006827/0.6805, allocations: 214.5 kB / 0.7434 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/0.6806, allocations: 53.03 kB / 0.7434 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002724/0.6808, allocations: 271.1 kB / 0.7437 GB, free: 9.184 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.303e-05/0.6809, allocations: 31.08 kB / 0.7437 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.681, allocations: 146.9 kB / 0.7439 GB, free: 9.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.654e-05/0.681, allocations: 33.05 kB / 0.7439 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.6811, allocations: 28.72 kB / 0.7439 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.6812, allocations: 332.3 kB / 0.7443 GB, free: 8.633 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.6814, allocations: 42.83 kB / 0.7443 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001724/0.6816, allocations: 107.7 kB / 0.7444 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.6818, allocations: 118.1 kB / 0.7445 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6818, allocations: 4 kB / 0.7445 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000337/0.6822, allocations: 157.8 kB / 0.7447 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.6822, allocations: 5.406 kB / 0.7447 GB, free: 8.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.6822, allocations: 5.125 kB / 0.7447 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6822, allocations: 1.688 kB / 0.7447 GB, free: 8.34 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.6824, allocations: 24.98 kB / 0.7447 GB, free: 8.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.6824, allocations: 6.484 kB / 0.7447 GB, free: 8.328 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.6826, allocations: 29.91 kB / 0.7447 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.6826, allocations: 4.562 kB / 0.7447 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001934/0.6828, allocations: 145 kB / 0.7449 GB, free: 8.195 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000156/0.683, allocations: 87.08 kB / 0.745 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002336/0.6832, allocations: 124.8 kB / 0.7451 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.6832, allocations: 0 / 0.7451 GB, free: 8.043 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003208/0.6836, allocations: 155.8 kB / 0.7452 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/0.6836, allocations: 6.844 kB / 0.7452 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.233e-06/0.6836, allocations: 0 / 0.7452 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.168e-06/0.6836, allocations: 10.88 kB / 0.7452 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.6837, allocations: 25.48 kB / 0.7453 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.474e-06/0.6837, allocations: 2.188 kB / 0.7453 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000166/0.6839, allocations: 22.11 kB / 0.7453 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.6839, allocations: 4.875 kB / 0.7453 GB, free: 7.922 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001143/0.684, allocations: 188.4 kB / 0.7455 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.868e-05/0.6841, allocations: 27.89 kB / 0.7455 GB, free: 7.719 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000353/0.6844, allocations: 167.3 kB / 0.7457 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.6844, allocations: 2.906 kB / 0.7457 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.6845, allocations: 0 / 0.7457 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/0.6845, allocations: 0 / 0.7457 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008352/0.6853, allocations: 0.5893 MB / 0.7462 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.6853, allocations: 1.844 kB / 0.7462 GB, free: 7.082 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.6854, allocations: 21.86 kB / 0.7463 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.586e-06/0.6854, allocations: 2.75 kB / 0.7463 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.6855, allocations: 10.95 kB / 0.7463 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.6855, allocations: 2.75 kB / 0.7463 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.676e-06/0.6855, allocations: 9.25 kB / 0.7463 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003729/0.6859, allocations: 292.6 kB / 0.7466 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.889e-05/0.686, allocations: 121.5 kB / 0.7467 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.355e-05/0.686, allocations: 2.469 kB / 0.7467 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001858/0.6862, allocations: 11.83 kB / 0.7467 GB, free: 6.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.6862, allocations: 23.3 kB / 0.7467 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.6863, allocations: 5.844 kB / 0.7467 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001751/0.6864, allocations: 198 kB / 0.7469 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6865, allocations: 0 / 0.7469 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004363/0.6869, allocations: 93.61 kB / 0.747 GB, free: 6.52 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0003723/0.6873, allocations: 164.9 kB / 0.7472 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.6877, allocations: 160.3 kB / 0.7473 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6877, allocations: 2.094 kB / 0.7473 GB, free: 6.328 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.6879, allocations: 64.92 kB / 0.7474 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008092/0.6887, allocations: 141.9 kB / 0.7475 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007283/0.6894, allocations: 0.5203 MB / 0.748 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.6898, allocations: 0.7582 MB / 0.7488 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.722e-05/0.6899, allocations: 20.44 kB / 0.7488 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6899, allocations: 0 / 0.7488 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of Templates: time 0.005712/0.6956, allocations: 3.753 MB / 0.7524 GB, free: 2.395 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDrop.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.FixedResistances.Examples.PressureDropCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDropCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.PressureDropCalcHelperMain.o] Error 1