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.0007885/0.0007887, allocations: 100.5 kB / 15.71 MB, free: 452 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.00097/0.0009701, allocations: 175.2 kB / 16.58 MB, free: 6.422 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.435/1.435, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7353/0.7353, allocations: 132.3 MB / 424 MB, free: 2.113 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003437/0.0003437, allocations: 12 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5625/0.5629, allocations: 81.58 MB / 0.5837 GB, free: 4.23 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.PressureDrop): time 0.1864/0.7494, allocations: 146.6 MB / 0.7269 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002913/0.7523, allocations: 1.613 MB / 0.7285 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.7526, allocations: 7.938 kB / 0.7285 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004839/0.7531, allocations: 111.2 kB / 0.7286 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001095/0.7542, allocations: 370.2 kB / 0.7289 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009611/0.7552, allocations: 360.7 kB / 0.7293 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007809/0.756, allocations: 0.6473 MB / 0.7299 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002521/0.7562, allocations: 128.5 kB / 0.73 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.7568, allocations: 278.8 kB / 0.7303 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001957/0.757, allocations: 143.4 kB / 0.7304 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.757, allocations: 8 kB / 0.7304 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009114/0.7579, allocations: 0.5262 MB / 0.7309 GB, free: 9.539 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.758, allocations: 71.78 kB / 0.731 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.7581, allocations: 69.58 kB / 0.7311 GB, free: 9.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.7586, allocations: 331.2 kB / 0.7314 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.7586, allocations: 0 / 0.7314 GB, free: 9.07 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7586, allocations: 7.938 kB / 0.7314 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.7586, allocations: 0 / 0.7314 GB, free: 9.062 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.0007835/0.7594, allocations: 0.5411 MB / 0.7319 GB, free: 8.473 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.7594, allocations: 16.02 kB / 0.7319 GB, free: 8.457 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003412/0.7598, allocations: 51.59 kB / 0.732 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/0.7601, allocations: 285.5 kB / 0.7323 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.7602, allocations: 16 kB / 0.7323 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.708e-05/0.7602, allocations: 16 kB / 0.7323 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.7606, allocations: 196 kB / 0.7325 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.7606, allocations: 0 / 0.7325 GB, free: 7.852 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.7606, allocations: 8 kB / 0.7325 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.146e-06/0.7606, allocations: 4 kB / 0.7325 GB, free: 7.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002911/0.7609, allocations: 139.8 kB / 0.7326 GB, free: 7.703 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.001048/0.762, allocations: 0.7926 MB / 0.7334 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.7623, allocations: 90.47 kB / 0.7335 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.7624, allocations: 80.88 kB / 0.7336 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.7627, allocations: 190.2 kB / 0.7338 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.624e-05/0.7628, allocations: 34.56 kB / 0.7338 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.7628, allocations: 0 / 0.7338 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006438/0.7634, allocations: 229.2 kB / 0.734 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7635, allocations: 51.41 kB / 0.7341 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002846/0.7638, allocations: 271 kB / 0.7343 GB, free: 5.828 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.7638, allocations: 25.7 kB / 0.7343 GB, free: 5.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.7639, allocations: 147.7 kB / 0.7345 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.133e-05/0.764, allocations: 39.45 kB / 0.7345 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.764, allocations: 0 / 0.7345 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7641, allocations: 342.8 kB / 0.7348 GB, free: 5.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001148/0.7643, allocations: 43.91 kB / 0.7349 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.7644, allocations: 101.4 kB / 0.735 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001226/0.7646, allocations: 51.95 kB / 0.735 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.7646, allocations: 0 / 0.735 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003207/0.7649, allocations: 165.3 kB / 0.7352 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.426e-05/0.765, allocations: 123.7 kB / 0.7353 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.111e-06/0.765, allocations: 0 / 0.7353 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.765, allocations: 4 kB / 0.7353 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.7651, allocations: 23.98 kB / 0.7353 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.944e-05/0.7652, allocations: 0 / 0.7353 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.7653, allocations: 27.84 kB / 0.7354 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.298e-05/0.7654, allocations: 4 kB / 0.7354 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.473e-06/0.7654, allocations: 8 kB / 0.7354 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002554/0.7656, allocations: 123.8 kB / 0.7355 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.7657, allocations: 4 kB / 0.7355 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-06/0.7657, allocations: 0 / 0.7355 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001034/0.7658, allocations: 28.02 kB / 0.7355 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.7658, allocations: 7.922 kB / 0.7355 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000151/0.7659, allocations: 23.83 kB / 0.7355 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/0.766, allocations: 8 kB / 0.7356 GB, free: 4.492 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.7661, allocations: 221 kB / 0.7358 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.553e-05/0.7662, allocations: 27.67 kB / 0.7358 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003607/0.7665, allocations: 175.3 kB / 0.736 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.7666, allocations: 0 / 0.736 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.371e-06/0.7666, allocations: 0 / 0.736 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7666, allocations: 0 / 0.736 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008378/0.7674, allocations: 0.5976 MB / 0.7365 GB, free: 3.387 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.7674, allocations: 4 kB / 0.7365 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.7675, allocations: 27.98 kB / 0.7366 GB, free: 3.355 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.7676, allocations: 7.938 kB / 0.7366 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7676, allocations: 0 / 0.7366 GB, free: 3.348 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.7676, allocations: 7.984 kB / 0.7366 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.7676, allocations: 0 / 0.7366 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003687/0.768, allocations: 305.6 kB / 0.7369 GB, free: 3.004 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.443e-05/0.7681, allocations: 116.9 kB / 0.737 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.128e-05/0.7681, allocations: 7.938 kB / 0.737 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.7683, allocations: 19.98 kB / 0.737 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/0.7684, allocations: 19.88 kB / 0.737 GB, free: 2.824 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.7684, allocations: 8 kB / 0.737 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001724/0.7686, allocations: 190 kB / 0.7372 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7686, allocations: 0 / 0.7372 GB, free: 2.637 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004596/0.769, allocations: 99.83 kB / 0.7373 GB, free: 2.539 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 (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.0003807/0.7694, allocations: 160.4 kB / 0.7375 GB, free: 2.383 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004388/0.7699, allocations: 175.8 kB / 0.7376 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.7699, allocations: 4.125 kB / 0.7376 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001487/0.77, allocations: 67.83 kB / 0.7377 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007664/0.7708, allocations: 125.2 kB / 0.7378 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.7716, allocations: 0.534 MB / 0.7384 GB, free: 1.43 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.7719, allocations: 0.7521 MB / 0.7391 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.772, allocations: 27.38 kB / 0.7391 GB, free: 0.625 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.772, allocations: 3.938 kB / 0.7391 GB, free: 0.6211 MB / 0.5606 GB Notification: Performance of Templates: time 0.005913/0.7779, allocations: 3.727 MB / 0.7428 GB, free: 12.94 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++ 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.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