Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 102.6 kB / 15.71 MB, free: 460 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.0009925/0.0009925, allocations: 171.9 kB / 16.58 MB, free: 6.398 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.406/1.406, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7658/0.7658, allocations: 132.3 MB / 424 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003553, allocations: 9.375 kB / 0.504 GB, free: 4.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4612/0.4615, allocations: 81.58 MB / 0.5837 GB, free: 3.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.02153/0.4831, allocations: 19.04 MB / 0.6023 GB, free: 6.445 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006885/0.4901, allocations: 4.633 MB / 0.6068 GB, free: 2.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005752/0.4907, allocations: 20.31 kB / 0.6068 GB, free: 2.828 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007397/0.4914, allocations: 196.5 kB / 0.607 GB, free: 2.664 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001826/0.4933, allocations: 0.6425 MB / 0.6076 GB, free: 2.148 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001844/0.4951, allocations: 0.6089 MB / 0.6082 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00198/0.4971, allocations: 1.553 MB / 0.6097 GB, free: 0.793 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005537/0.4977, allocations: 337.8 kB / 0.6101 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009452/0.4986, allocations: 0.5011 MB / 0.6105 GB, free: 324 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006196/0.4993, allocations: 418.9 kB / 0.6109 GB, free: 88 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 6.966e-05/0.4993, allocations: 19.88 kB / 0.611 GB, free: 88 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001162/0.5005, allocations: 0.5235 MB / 0.6115 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001337/0.5006, allocations: 103.7 kB / 0.6116 GB, free: 15.73 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.5008, allocations: 127.8 kB / 0.6117 GB, free: 15.65 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007409/0.5015, allocations: 0.557 MB / 0.6122 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5016, allocations: 0 / 0.6122 GB, free: 15.3 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5016, allocations: 1.125 kB / 0.6122 GB, free: 15.3 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.5016, allocations: 0 / 0.6122 GB, free: 15.3 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001462/0.503, allocations: 0.8418 MB / 0.6131 GB, free: 14.6 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.5031, allocations: 8.688 kB / 0.6131 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001262/0.5032, allocations: 67.06 kB / 0.6131 GB, free: 14.56 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.5039, allocations: 430.5 kB / 0.6135 GB, free: 14.19 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.5039, allocations: 26.81 kB / 0.6136 GB, free: 14.18 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.177e-05/0.504, allocations: 35.59 kB / 0.6136 GB, free: 14.16 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006506/0.5046, allocations: 311.1 kB / 0.6139 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5047, allocations: 4 kB / 0.6139 GB, free: 13.99 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.5047, allocations: 15.25 kB / 0.6139 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.254e-05/0.5047, allocations: 7.406 kB / 0.6139 GB, free: 13.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006229/0.5054, allocations: 283.1 kB / 0.6142 GB, free: 13.85 MB / 462.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.002132/0.5075, allocations: 1.358 MB / 0.6155 GB, free: 12.7 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005556/0.5081, allocations: 264.3 kB / 0.6158 GB, free: 12.56 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.5084, allocations: 144.5 kB / 0.6159 GB, free: 12.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004844/0.5089, allocations: 0.499 MB / 0.6164 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.5089, allocations: 36.72 kB / 0.6164 GB, free: 11.87 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.412e-06/0.5089, allocations: 0 / 0.6164 GB, free: 11.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.00174/0.5107, allocations: 0.5914 MB / 0.617 GB, free: 11.53 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/0.5108, allocations: 57.5 kB / 0.6171 GB, free: 11.46 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.5114, allocations: 465.8 kB / 0.6175 GB, free: 11.18 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.056e-05/0.5114, allocations: 32.89 kB / 0.6175 GB, free: 11.14 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001886/0.5116, allocations: 242.3 kB / 0.6178 GB, free: 10.93 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.35e-05/0.5117, allocations: 81.61 kB / 0.6179 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.438e-05/0.5117, allocations: 4.969 kB / 0.6179 GB, free: 10.85 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001681/0.5119, allocations: 362.3 kB / 0.6182 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003198/0.5122, allocations: 125.2 kB / 0.6183 GB, free: 10.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003659/0.5126, allocations: 183.9 kB / 0.6185 GB, free: 10.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.5129, allocations: 139.7 kB / 0.6186 GB, free: 10.27 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5129, allocations: 3.938 kB / 0.6186 GB, free: 10.27 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001002/0.514, allocations: 430.1 kB / 0.619 GB, free: 10.05 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.279e-05/0.514, allocations: 109.4 kB / 0.6192 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.5141, allocations: 0 / 0.6192 GB, free: 9.941 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003413/0.5144, allocations: 53.83 kB / 0.6192 GB, free: 9.914 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003704/0.5148, allocations: 80.11 kB / 0.6193 GB, free: 9.891 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004446/0.5152, allocations: 0.5624 MB / 0.6198 GB, free: 9.336 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000478/0.5157, allocations: 70.3 kB / 0.6199 GB, free: 9.297 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.517e-05/0.5158, allocations: 13.58 kB / 0.6199 GB, free: 9.293 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.708e-06/0.5158, allocations: 4.188 kB / 0.6199 GB, free: 9.293 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007333/0.5165, allocations: 322.4 kB / 0.6202 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.675e-06/0.5166, allocations: 0.9688 kB / 0.6202 GB, free: 9.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.23e-06/0.5166, allocations: 6.703 kB / 0.6202 GB, free: 9.148 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000381/0.5169, allocations: 79.33 kB / 0.6203 GB, free: 9.133 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.517, allocations: 10.95 kB / 0.6203 GB, free: 9.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003803/0.5174, allocations: 64.2 kB / 0.6204 GB, free: 9.09 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.5174, allocations: 17.58 kB / 0.6204 GB, free: 9.082 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.5177, allocations: 246.6 kB / 0.6206 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.464e-05/0.5177, allocations: 45.31 kB / 0.6207 GB, free: 8.836 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.5188, allocations: 448.8 kB / 0.6211 GB, free: 8.578 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.5188, allocations: 7.156 kB / 0.6211 GB, free: 8.574 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.5188, allocations: 3.953 kB / 0.6211 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.5188, allocations: 0 / 0.6211 GB, free: 8.57 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001587/0.5204, allocations: 0.9642 MB / 0.6221 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.5204, allocations: 1.062 kB / 0.6221 GB, free: 7.844 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002345/0.5207, allocations: 59.84 kB / 0.6221 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001649/0.5208, allocations: 39.11 kB / 0.6221 GB, free: 7.805 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.429e-05/0.5209, allocations: 7.875 kB / 0.6222 GB, free: 7.801 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003582/0.5212, allocations: 0.559 MB / 0.6227 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5213, allocations: 1.125 kB / 0.6227 GB, free: 7.25 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008372/0.5221, allocations: 0.5098 MB / 0.6232 GB, free: 6.902 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/0.5223, allocations: 166.3 kB / 0.6234 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.5224, allocations: 7.188 kB / 0.6234 GB, free: 6.738 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003347/0.5227, allocations: 46.95 kB / 0.6234 GB, free: 6.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.169e-05/0.5228, allocations: 14.23 kB / 0.6234 GB, free: 6.711 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.5228, allocations: 16.08 kB / 0.6234 GB, free: 6.703 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003936/0.5232, allocations: 316.4 kB / 0.6237 GB, free: 6.512 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5232, allocations: 1 kB / 0.6237 GB, free: 6.512 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008787/0.5241, allocations: 248.9 kB / 0.624 GB, free: 6.457 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005646/0.5247, allocations: 263.8 kB / 0.6242 GB, free: 6.281 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.5258, allocations: 487.5 kB / 0.6247 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.5258, allocations: 0 / 0.6247 GB, free: 5.812 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003937/0.5262, allocations: 180 kB / 0.6249 GB, free: 5.637 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.5275, allocations: 252.5 kB / 0.6251 GB, free: 5.398 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.529, allocations: 1.015 MB / 0.6261 GB, free: 4.34 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.5294, allocations: 0.8513 MB / 0.6269 GB, free: 3.461 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.5296, allocations: 43.42 kB / 0.627 GB, free: 3.418 MB / 462.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5296, allocations: 8 kB / 0.627 GB, free: 3.41 MB / 462.1 MB Notification: Performance of Templates: time 0.01567/0.5453, allocations: 10.2 MB / 0.6369 GB, free: 9.32 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValve.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.CheckValveCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o] Error 1