Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve") translateModel(IDEAS.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007458/0.0007457, 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.0008091/0.0008091, allocations: 176.2 kB / 16.58 MB, free: 6.863 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.348/1.348, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8973/0.8973, allocations: 135.3 MB / 427 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003167/0.0003169, allocations: 13.97 kB / 0.5076 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1614/0.1618, allocations: 82.31 MB / 0.588 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01754/0.1794, allocations: 19.03 MB / 0.6066 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.293/0.4724, allocations: 4.63 MB / 0.6111 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005606/0.473, allocations: 17.62 kB / 0.6111 GB, free: 34.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.4736, allocations: 195.7 kB / 0.6113 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.4752, allocations: 0.6498 MB / 0.6119 GB, free: 34.71 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.4769, allocations: 0.6049 MB / 0.6125 GB, free: 34.68 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001484/0.4784, allocations: 1.549 MB / 0.614 GB, free: 34.5 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004174/0.4788, allocations: 344.4 kB / 0.6144 GB, free: 34.46 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006478/0.4795, allocations: 0.4885 MB / 0.6148 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.4799, allocations: 425.6 kB / 0.6152 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.287e-05/0.48, allocations: 22.62 kB / 0.6153 GB, free: 34.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000935/0.4809, allocations: 0.5249 MB / 0.6158 GB, free: 34.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.481, allocations: 96.8 kB / 0.6159 GB, free: 34.19 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001177/0.4812, allocations: 125.5 kB / 0.616 GB, free: 34.14 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.4818, allocations: 0.561 MB / 0.6165 GB, free: 34.09 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.4818, allocations: 4.688 kB / 0.6165 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.433e-06/0.4818, allocations: 0 / 0.6165 GB, free: 34.08 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.4818, allocations: 0 / 0.6165 GB, free: 34.08 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001186/0.483, allocations: 0.8443 MB / 0.6174 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.483, allocations: 8.25 kB / 0.6174 GB, free: 33.49 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.928e-05/0.4831, allocations: 64.7 kB / 0.6174 GB, free: 33.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.4836, allocations: 430.5 kB / 0.6178 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.4836, allocations: 26.03 kB / 0.6179 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.751e-05/0.4837, allocations: 33.56 kB / 0.6179 GB, free: 33.21 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005417/0.4842, allocations: 317.2 kB / 0.6182 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4842, allocations: 0 / 0.6182 GB, free: 33.18 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.078e-05/0.4843, allocations: 21.97 kB / 0.6182 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.4843, allocations: 5.812 kB / 0.6182 GB, free: 33.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005391/0.4848, allocations: 276.3 kB / 0.6185 GB, free: 33.17 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.00168/0.4865, allocations: 1.356 MB / 0.6198 GB, free: 32.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004195/0.487, allocations: 268.6 kB / 0.6201 GB, free: 32.44 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.4872, allocations: 141 kB / 0.6202 GB, free: 32.43 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003105/0.4875, allocations: 0.5018 MB / 0.6207 GB, free: 31.87 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/0.4876, allocations: 35.06 kB / 0.6207 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=25): time 1.513e-06/0.4876, allocations: 0 / 0.6207 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=25): time 0.001408/0.489, allocations: 0.5955 MB / 0.6213 GB, free: 31.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.489, allocations: 54.22 kB / 0.6214 GB, free: 31.59 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.4894, allocations: 453.7 kB / 0.6218 GB, free: 31.46 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.4894, allocations: 37.91 kB / 0.6218 GB, free: 31.43 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.4896, allocations: 245.6 kB / 0.6221 GB, free: 31.32 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.084e-05/0.4896, allocations: 87.52 kB / 0.6222 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.549e-05/0.4897, allocations: 3.688 kB / 0.6222 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.4897, allocations: 359.3 kB / 0.6225 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.49, allocations: 122.8 kB / 0.6226 GB, free: 30.95 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002944/0.4903, allocations: 186.3 kB / 0.6228 GB, free: 30.9 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002683/0.4906, allocations: 145.4 kB / 0.6229 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.4906, allocations: 3.953 kB / 0.6229 GB, free: 30.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007809/0.4914, allocations: 428.5 kB / 0.6233 GB, free: 30.81 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.119e-05/0.4914, allocations: 111.1 kB / 0.6234 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.4914, allocations: 0 / 0.6234 GB, free: 30.7 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002871/0.4917, allocations: 53.64 kB / 0.6235 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003142/0.4921, allocations: 80.52 kB / 0.6236 GB, free: 30.69 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002822/0.4923, allocations: 0.5678 MB / 0.6241 GB, free: 30.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.4928, allocations: 66.81 kB / 0.6242 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/0.4928, allocations: 15.56 kB / 0.6242 GB, free: 30.14 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.651e-06/0.4928, allocations: 11.22 kB / 0.6242 GB, free: 30.13 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000583/0.4934, allocations: 321.3 kB / 0.6245 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.4934, allocations: 0 / 0.6245 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.507e-06/0.4934, allocations: 2.5 kB / 0.6245 GB, free: 30.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.4938, allocations: 88.03 kB / 0.6246 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.4938, allocations: 0 / 0.6246 GB, free: 30.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003516/0.4942, allocations: 67.72 kB / 0.6247 GB, free: 30.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.601e-05/0.4942, allocations: 16.88 kB / 0.6247 GB, free: 30.09 MB / 0.4981 GB 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.0001801/0.4944, allocations: 244.8 kB / 0.6249 GB, free: 29.9 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.082e-05/0.4944, allocations: 45.16 kB / 0.625 GB, free: 29.88 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007919/0.4952, allocations: 442.4 kB / 0.6254 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/0.4953, allocations: 9.297 kB / 0.6254 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4953, allocations: 4 kB / 0.6254 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4953, allocations: 0 / 0.6254 GB, free: 29.8 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0012/0.4965, allocations: 0.9682 MB / 0.6264 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.4965, allocations: 0 / 0.6264 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000202/0.4967, allocations: 54.88 kB / 0.6264 GB, free: 29.43 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001383/0.4969, allocations: 47.83 kB / 0.6264 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.014e-05/0.4969, allocations: 6.156 kB / 0.6265 GB, free: 29.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002155/0.4971, allocations: 0.5619 MB / 0.627 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.4971, allocations: 0 / 0.627 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006254/0.4977, allocations: 0.5032 MB / 0.6275 GB, free: 28.68 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001288/0.4979, allocations: 169.5 kB / 0.6277 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.43e-05/0.4979, allocations: 6.344 kB / 0.6277 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/0.4983, allocations: 41.34 kB / 0.6277 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.4983, allocations: 18.08 kB / 0.6277 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.4984, allocations: 14.7 kB / 0.6277 GB, free: 28.55 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002725/0.4986, allocations: 321.4 kB / 0.628 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4986, allocations: 0 / 0.628 GB, free: 28.46 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006731/0.4993, allocations: 249 kB / 0.6283 GB, free: 28.43 MB / 0.4981 GB 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.0004359/0.4998, allocations: 251.6 kB / 0.6285 GB, free: 28.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009513/0.5007, allocations: 489.4 kB / 0.629 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.5007, allocations: 4 kB / 0.629 GB, free: 28.28 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003237/0.5011, allocations: 173.6 kB / 0.6292 GB, free: 28.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001196/0.5023, allocations: 266 kB / 0.6294 GB, free: 28.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001235/0.5035, allocations: 1.007 MB / 0.6304 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.5038, allocations: 0.8547 MB / 0.6312 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.5039, allocations: 43.16 kB / 0.6313 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of SimCode: time 4.71e-07/0.5039, allocations: 0 / 0.6313 GB, free: 26.96 MB / 0.4981 GB Notification: Performance of Templates: time 0.01236/0.5163, allocations: 10.2 MB / 0.6412 GB, free: 26.03 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValve.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o] Error 1