Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") translateModel(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000746/0.0007459, 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.0007773/0.0007773, allocations: 174.9 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.301/1.301, allocations: 223.3 MB / 240.6 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8911/0.8911, allocations: 135.3 MB / 427 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 12 kB / 0.5076 GB, free: 5.281 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1568, allocations: 82.3 MB / 0.588 GB, free: 3.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter): time 0.01932/0.1762, allocations: 13.76 MB / 0.6014 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007467/0.1837, allocations: 3.636 MB / 0.605 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005687/0.1844, allocations: 15.94 kB / 0.605 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006482/0.185, allocations: 131.1 kB / 0.6051 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001887/0.1869, allocations: 0.556 MB / 0.6057 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.1885, allocations: 410.3 kB / 0.606 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.3236/0.5121, allocations: 1.188 MB / 0.6072 GB, free: 35.11 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004648/0.5126, allocations: 224.5 kB / 0.6074 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006639/0.5133, allocations: 352.5 kB / 0.6078 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002815/0.5136, allocations: 250.5 kB / 0.608 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.563e-05/0.5136, allocations: 11.72 kB / 0.608 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001137/0.5148, allocations: 0.6345 MB / 0.6086 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.301e-05/0.5148, allocations: 55.55 kB / 0.6087 GB, free: 35.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.5149, allocations: 97.64 kB / 0.6088 GB, free: 35.06 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005273/0.5155, allocations: 491.2 kB / 0.6092 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.5155, allocations: 1.062 kB / 0.6092 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.874e-06/0.5155, allocations: 0 / 0.6092 GB, free: 35.04 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.5155, allocations: 0 / 0.6092 GB, free: 35.04 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0009416/0.5165, allocations: 0.6863 MB / 0.6099 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.5165, allocations: 12 kB / 0.6099 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.476e-05/0.5166, allocations: 45.5 kB / 0.61 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000917/0.5175, allocations: 477.8 kB / 0.6104 GB, free: 34.27 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.5176, allocations: 19.17 kB / 0.6104 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.714e-05/0.5176, allocations: 17.19 kB / 0.6105 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004436/0.5181, allocations: 184.3 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.5181, allocations: 8.891 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.245e-05/0.5181, allocations: 5.656 kB / 0.6106 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.5181, allocations: 6.062 kB / 0.6107 GB, free: 34.23 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.5185, allocations: 148.6 kB / 0.6108 GB, free: 34.22 MB / 0.4981 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.00125/0.5197, allocations: 0.8639 MB / 0.6116 GB, free: 33.68 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003066/0.5201, allocations: 126.1 kB / 0.6118 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000177/0.5202, allocations: 76.27 kB / 0.6118 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004184/0.5207, allocations: 338.5 kB / 0.6122 GB, free: 33.27 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.5207, allocations: 33.38 kB / 0.6122 GB, free: 33.23 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.745e-06/0.5207, allocations: 4 kB / 0.6122 GB, free: 33.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12): time 0.0006485/0.5214, allocations: 233.5 kB / 0.6124 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.5214, allocations: 55.41 kB / 0.6125 GB, free: 33.11 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003663/0.5218, allocations: 349.5 kB / 0.6128 GB, free: 33 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.5218, allocations: 25.7 kB / 0.6128 GB, free: 32.97 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001272/0.522, allocations: 198.3 kB / 0.613 GB, free: 32.87 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.522, allocations: 37.14 kB / 0.613 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.522, allocations: 3.25 kB / 0.6131 GB, free: 32.84 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.5221, allocations: 347.9 kB / 0.6134 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.5222, allocations: 44.38 kB / 0.6134 GB, free: 32.53 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.5224, allocations: 91.02 kB / 0.6135 GB, free: 32.49 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.5225, allocations: 61.8 kB / 0.6136 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5226, allocations: 0 / 0.6136 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003088/0.5229, allocations: 178.9 kB / 0.6137 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.842e-05/0.5229, allocations: 106.3 kB / 0.6138 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.5229, allocations: 0 / 0.6138 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.575e-05/0.523, allocations: 3 kB / 0.6138 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001379/0.5231, allocations: 28.59 kB / 0.6139 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5231, allocations: 3.438 kB / 0.6139 GB, free: 32.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.5233, allocations: 35.34 kB / 0.6139 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.336e-05/0.5234, allocations: 6.125 kB / 0.6139 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.193e-06/0.5234, allocations: 3.094 kB / 0.6139 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002779/0.5237, allocations: 124.9 kB / 0.614 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.274e-06/0.5237, allocations: 8.719 kB / 0.614 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-06/0.5237, allocations: 0 / 0.614 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.624e-05/0.5238, allocations: 29.36 kB / 0.6141 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.713e-06/0.5238, allocations: 0 / 0.6141 GB, free: 32.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.524, allocations: 30.06 kB / 0.6141 GB, free: 32.31 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.381e-05/0.524, allocations: 7.469 kB / 0.6141 GB, free: 32.31 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (12): * Single equations (assignments): 12 * 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.0001604/0.5242, allocations: 232.6 kB / 0.6143 GB, free: 32.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.5242, allocations: 36.77 kB / 0.6144 GB, free: 32.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004863/0.5247, allocations: 233.7 kB / 0.6146 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/0.5247, allocations: 2.969 kB / 0.6146 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.5247, allocations: 0 / 0.6146 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.5247, allocations: 3.328 kB / 0.6146 GB, free: 32.05 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008004/0.5255, allocations: 0.6494 MB / 0.6152 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.5256, allocations: 0 / 0.6152 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.259e-05/0.5257, allocations: 27.55 kB / 0.6153 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.5257, allocations: 1.5 kB / 0.6153 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.5257, allocations: 6.219 kB / 0.6153 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.5257, allocations: 7.328 kB / 0.6153 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.5257, allocations: 6.344 kB / 0.6153 GB, free: 31.71 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003233/0.526, allocations: 318.3 kB / 0.6156 GB, free: 31.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.978e-05/0.5261, allocations: 136.1 kB / 0.6157 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.964e-05/0.5262, allocations: 3.375 kB / 0.6157 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002077/0.5264, allocations: 24.08 kB / 0.6157 GB, free: 31.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.026e-05/0.5264, allocations: 15.92 kB / 0.6158 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.5265, allocations: 14.22 kB / 0.6158 GB, free: 31.41 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001881/0.5267, allocations: 244.9 kB / 0.616 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5267, allocations: 0 / 0.616 GB, free: 31.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005604/0.5272, allocations: 186.7 kB / 0.6162 GB, free: 31.29 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004726/0.5277, allocations: 252.6 kB / 0.6164 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004237/0.5281, allocations: 200.9 kB / 0.6166 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.5282, allocations: 0 / 0.6166 GB, free: 31.17 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.000144/0.5283, allocations: 82.64 kB / 0.6167 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007263/0.529, allocations: 143.9 kB / 0.6168 GB, free: 31.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008009/0.5299, allocations: 0.7027 MB / 0.6175 GB, free: 30.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000213/0.5301, allocations: 0.8002 MB / 0.6183 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.5301, allocations: 33.09 kB / 0.6183 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of SimCode: time 5.41e-07/0.5302, allocations: 0 / 0.6183 GB, free: 30.03 MB / 0.4981 GB Notification: Performance of Templates: time 0.007663/0.5378, allocations: 5.711 MB / 0.6239 GB, free: 29.54 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.makefile make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameter.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_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.HydraulicDiameterCalcHelperMain.o] Error 1