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.0007756/0.0007758, allocations: 98.88 kB / 16.02 MB, free: 76 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.0009303/0.0009304, allocations: 181.7 kB / 16.92 MB, free: 6.918 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.329/1.329, allocations: 223.2 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7362/0.7362, allocations: 132.3 MB / 424.4 MB, free: 2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003365/0.0003365, allocations: 15.94 kB / 0.5046 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4979/0.4982, allocations: 81.58 MB / 0.5843 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1784/0.6767, allocations: 157.2 MB / 0.7378 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.6794, allocations: 1.7 MB / 0.7395 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002056/0.6797, allocations: 7.938 kB / 0.7395 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004817/0.6802, allocations: 131.2 kB / 0.7396 GB, free: 0.8828 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.6813, allocations: 486 kB / 0.7401 GB, free: 416 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000945/0.6823, allocations: 388.8 kB / 0.7404 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007953/0.6831, allocations: 0.7643 MB / 0.7412 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002509/0.6834, allocations: 144.5 kB / 0.7413 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005331/0.6839, allocations: 298.8 kB / 0.7416 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001844/0.6841, allocations: 159.2 kB / 0.7417 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.6841, allocations: 4 kB / 0.7417 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001028/0.6852, allocations: 0.7755 MB / 0.7425 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.335e-05/0.6853, allocations: 67.8 kB / 0.7426 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.6854, allocations: 145 kB / 0.7427 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0004167/0.6858, allocations: 343.2 kB / 0.743 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.6858, allocations: 0 / 0.743 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6858, allocations: 0 / 0.743 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.6858, allocations: 0 / 0.743 GB, free: 13.34 MB / 0.5762 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.0007054/0.6866, allocations: 0.5488 MB / 0.7436 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.6866, allocations: 12.03 kB / 0.7436 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003077/0.6869, allocations: 63.52 kB / 0.7436 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/0.6872, allocations: 281.4 kB / 0.7439 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.6872, allocations: 12 kB / 0.7439 GB, free: 12.35 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.6873, allocations: 16 kB / 0.7439 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003479/0.6876, allocations: 200.1 kB / 0.7441 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.6876, allocations: 0 / 0.7441 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.6877, allocations: 4 kB / 0.7441 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.6877, allocations: 4 kB / 0.7441 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003008/0.688, allocations: 143.8 kB / 0.7443 GB, free: 11.97 MB / 0.5762 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.0009141/0.6889, allocations: 0.7848 MB / 0.745 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002282/0.6892, allocations: 82.58 kB / 0.7451 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001618/0.6893, allocations: 96.78 kB / 0.7452 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002818/0.6896, allocations: 178.2 kB / 0.7454 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.776e-05/0.6897, allocations: 42.5 kB / 0.7454 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=10): time 1.313e-06/0.6897, allocations: 3.938 kB / 0.7454 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10): time 0.0006381/0.6903, allocations: 233.2 kB / 0.7457 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.6903, allocations: 51.41 kB / 0.7457 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.6906, allocations: 279 kB / 0.746 GB, free: 10.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.6906, allocations: 25.7 kB / 0.746 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.885e-05/0.6907, allocations: 148 kB / 0.7461 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.268e-05/0.6908, allocations: 35.45 kB / 0.7462 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.6908, allocations: 13.72 kB / 0.7462 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.6909, allocations: 334.8 kB / 0.7465 GB, free: 9.516 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.6911, allocations: 43.97 kB / 0.7465 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001616/0.6912, allocations: 97.11 kB / 0.7466 GB, free: 9.359 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002561/0.6915, allocations: 131.3 kB / 0.7468 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.6915, allocations: 7.938 kB / 0.7468 GB, free: 9.211 MB / 0.5762 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003307/0.6918, allocations: 169.3 kB / 0.7469 GB, free: 9.039 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.23e-05/0.6919, allocations: 117.2 kB / 0.747 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6919, allocations: 0 / 0.747 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.301e-05/0.6919, allocations: 3.938 kB / 0.747 GB, free: 8.906 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.6921, allocations: 27.98 kB / 0.7471 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.6921, allocations: 0 / 0.7471 GB, free: 8.879 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.6923, allocations: 35.97 kB / 0.7471 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.6923, allocations: 4 kB / 0.7471 GB, free: 8.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.51e-06/0.6923, allocations: 4 kB / 0.7471 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002714/0.6926, allocations: 124 kB / 0.7472 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-06/0.6926, allocations: 0 / 0.7472 GB, free: 8.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.12e-06/0.6926, allocations: 4 kB / 0.7472 GB, free: 8.711 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.6927, allocations: 23.92 kB / 0.7473 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.6927, allocations: 4 kB / 0.7473 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.6929, allocations: 32.47 kB / 0.7473 GB, free: 8.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.181e-05/0.6929, allocations: 4 kB / 0.7473 GB, free: 8.648 MB / 0.5762 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.000133/0.6931, allocations: 213.1 kB / 0.7475 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.6931, allocations: 23.72 kB / 0.7475 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003705/0.6935, allocations: 179.2 kB / 0.7477 GB, free: 8.227 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.6935, allocations: 4 kB / 0.7477 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.6935, allocations: 0 / 0.7477 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.6935, allocations: 0 / 0.7477 GB, free: 8.223 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008241/0.6943, allocations: 0.6133 MB / 0.7483 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.6944, allocations: 4 kB / 0.7483 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.6945, allocations: 23.98 kB / 0.7483 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.6945, allocations: 0 / 0.7483 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.6945, allocations: 4 kB / 0.7483 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.6945, allocations: 7.938 kB / 0.7483 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.6945, allocations: 0 / 0.7483 GB, free: 7.492 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.6949, allocations: 305.2 kB / 0.7486 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.372e-05/0.695, allocations: 116.8 kB / 0.7487 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.695, allocations: 0 / 0.7487 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001927/0.6952, allocations: 19.89 kB / 0.7488 GB, free: 7.004 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.6953, allocations: 19.92 kB / 0.7488 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.6953, allocations: 11.94 kB / 0.7488 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000168/0.6955, allocations: 201.9 kB / 0.749 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6955, allocations: 0 / 0.749 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004351/0.6959, allocations: 87.84 kB / 0.7491 GB, free: 6.695 MB / 0.5762 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.0003447/0.6963, allocations: 169.6 kB / 0.7492 GB, free: 6.535 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004531/0.6967, allocations: 183.9 kB / 0.7494 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.285e-06/0.6967, allocations: 4 kB / 0.7494 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001427/0.6969, allocations: 64.28 kB / 0.7495 GB, free: 6.289 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008738/0.6978, allocations: 132.9 kB / 0.7496 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006753/0.6985, allocations: 0.5361 MB / 0.7501 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.6987, allocations: 0.7521 MB / 0.7508 GB, free: 4.789 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.319e-05/0.6988, allocations: 19.44 kB / 0.7509 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of SimCode: time 2.41e-07/0.6988, allocations: 0 / 0.7509 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of Templates: time 0.0055/0.7043, allocations: 3.721 MB / 0.7545 GB, free: 1.09 MB / 0.5762 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