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.0007779/0.0007779, allocations: 99.5 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.0009645/0.0009647, allocations: 187.9 kB / 16.92 MB, free: 6.75 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.368/1.368, allocations: 223.3 MB / 241 MB, free: 5.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7735/0.7735, allocations: 132.3 MB / 424.4 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 14.34 kB / 0.5046 GB, free: 3.922 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4471, allocations: 81.57 MB / 0.5843 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.CheckValve): time 0.01944/0.4666, allocations: 20.07 MB / 0.6039 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.007015/0.4737, allocations: 4.918 MB / 0.6087 GB, free: 1.781 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007048/0.4744, allocations: 16.69 kB / 0.6087 GB, free: 1.773 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007162/0.4751, allocations: 220.4 kB / 0.6089 GB, free: 1.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001976/0.4771, allocations: 0.7361 MB / 0.6096 GB, free: 1.008 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.4789, allocations: 0.6544 MB / 0.6103 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002015/0.4809, allocations: 1.806 MB / 0.612 GB, free: 15.55 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005276/0.4815, allocations: 373.1 kB / 0.6124 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008866/0.4824, allocations: 0.5151 MB / 0.6129 GB, free: 15.04 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005735/0.483, allocations: 455.4 kB / 0.6133 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.883e-05/0.483, allocations: 24.27 kB / 0.6134 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.4841, allocations: 0.6032 MB / 0.6139 GB, free: 14.43 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001273/0.4843, allocations: 102.2 kB / 0.614 GB, free: 14.36 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.4846, allocations: 296.1 kB / 0.6143 GB, free: 14.16 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.4852, allocations: 0.572 MB / 0.6149 GB, free: 13.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4853, allocations: 0 / 0.6149 GB, free: 13.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4853, allocations: 0 / 0.6149 GB, free: 13.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.4853, allocations: 5.438 kB / 0.6149 GB, free: 13.8 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.001397/0.4867, allocations: 0.8388 MB / 0.6157 GB, free: 13.1 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.4867, allocations: 8.906 kB / 0.6157 GB, free: 13.1 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001098/0.4869, allocations: 68.36 kB / 0.6158 GB, free: 13.06 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005757/0.4874, allocations: 438.8 kB / 0.6162 GB, free: 12.68 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.687e-05/0.4875, allocations: 31 kB / 0.6162 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.436e-05/0.4875, allocations: 35.59 kB / 0.6163 GB, free: 12.65 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006518/0.4882, allocations: 321.3 kB / 0.6166 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.4882, allocations: 0 / 0.6166 GB, free: 12.47 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.157e-05/0.4883, allocations: 11.06 kB / 0.6166 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.4883, allocations: 6 kB / 0.6166 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006521/0.4889, allocations: 282.9 kB / 0.6169 GB, free: 12.34 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.002053/0.491, allocations: 1.362 MB / 0.6182 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005443/0.4916, allocations: 273.1 kB / 0.6184 GB, free: 11.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003105/0.4919, allocations: 142.2 kB / 0.6186 GB, free: 10.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.4923, allocations: 0.4982 MB / 0.6191 GB, free: 10.4 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.252e-05/0.4924, allocations: 41.19 kB / 0.6191 GB, free: 10.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=25): time 1.403e-06/0.4924, allocations: 0 / 0.6191 GB, free: 10.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=25): time 0.001756/0.4941, allocations: 0.5854 MB / 0.6197 GB, free: 10.02 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.923e-05/0.4942, allocations: 58.69 kB / 0.6197 GB, free: 9.953 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005045/0.4947, allocations: 473.5 kB / 0.6202 GB, free: 9.664 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.4947, allocations: 31.83 kB / 0.6202 GB, free: 9.629 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.4949, allocations: 239.6 kB / 0.6204 GB, free: 9.418 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.982e-05/0.495, allocations: 88.52 kB / 0.6205 GB, free: 9.34 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.69e-05/0.4951, allocations: 37.52 kB / 0.6206 GB, free: 9.309 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4952, allocations: 356.7 kB / 0.6209 GB, free: 8.961 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.4956, allocations: 128.2 kB / 0.621 GB, free: 8.906 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003734/0.4959, allocations: 188.3 kB / 0.6212 GB, free: 8.793 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006248/0.4966, allocations: 297.8 kB / 0.6215 GB, free: 8.645 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.4966, allocations: 0 / 0.6215 GB, free: 8.645 MB / 462.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001503/0.4981, allocations: 0.4972 MB / 0.622 GB, free: 8.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.596e-05/0.4982, allocations: 105.6 kB / 0.6221 GB, free: 8.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4982, allocations: 5.406 kB / 0.6221 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000342/0.4985, allocations: 61.56 kB / 0.6221 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003467/0.4989, allocations: 71.86 kB / 0.6222 GB, free: 8.246 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004118/0.4993, allocations: 0.5676 MB / 0.6228 GB, free: 7.688 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005255/0.4998, allocations: 65.33 kB / 0.6228 GB, free: 7.652 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.4999, allocations: 18.05 kB / 0.6228 GB, free: 7.645 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.4999, allocations: 6.469 kB / 0.6229 GB, free: 7.645 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007526/0.5007, allocations: 321.5 kB / 0.6232 GB, free: 7.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.005e-06/0.5007, allocations: 4.906 kB / 0.6232 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.759e-06/0.5007, allocations: 2.312 kB / 0.6232 GB, free: 7.504 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003709/0.5011, allocations: 83.39 kB / 0.6232 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.607e-06/0.5011, allocations: 1.469 kB / 0.6232 GB, free: 7.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/0.5015, allocations: 73.38 kB / 0.6233 GB, free: 7.441 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.008e-05/0.5016, allocations: 12.94 kB / 0.6233 GB, free: 7.438 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002269/0.5018, allocations: 242.3 kB / 0.6236 GB, free: 7.215 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.721e-05/0.5019, allocations: 50.92 kB / 0.6236 GB, free: 7.188 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009637/0.5028, allocations: 442.4 kB / 0.624 GB, free: 6.941 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/0.5029, allocations: 7.484 kB / 0.624 GB, free: 6.938 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/0.5029, allocations: 7.875 kB / 0.624 GB, free: 6.93 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.5029, allocations: 4 kB / 0.624 GB, free: 6.926 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.5044, allocations: 0.9732 MB / 0.625 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.5045, allocations: 0 / 0.625 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.5047, allocations: 51.91 kB / 0.625 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001571/0.5049, allocations: 52.97 kB / 0.6251 GB, free: 6.035 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.946e-05/0.5049, allocations: 8 kB / 0.6251 GB, free: 6.027 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003305/0.5052, allocations: 0.5601 MB / 0.6257 GB, free: 5.441 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5052, allocations: 3.938 kB / 0.6257 GB, free: 5.438 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007748/0.506, allocations: 0.5043 MB / 0.6261 GB, free: 4.902 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000164/0.5062, allocations: 164.3 kB / 0.6263 GB, free: 4.723 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.5063, allocations: 8 kB / 0.6263 GB, free: 4.715 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003553/0.5066, allocations: 47.89 kB / 0.6264 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.798e-05/0.5067, allocations: 27.84 kB / 0.6264 GB, free: 4.641 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.127e-05/0.5067, allocations: 8 kB / 0.6264 GB, free: 4.633 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0003307/0.5071, allocations: 326.9 kB / 0.6267 GB, free: 4.316 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5071, allocations: 4 kB / 0.6267 GB, free: 4.312 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007355/0.5078, allocations: 247.5 kB / 0.6269 GB, free: 4.07 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004598/0.5083, allocations: 246.9 kB / 0.6272 GB, free: 3.828 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.5094, allocations: 491.6 kB / 0.6276 GB, free: 3.352 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.634e-06/0.5094, allocations: 4 kB / 0.6277 GB, free: 3.348 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.5098, allocations: 171.8 kB / 0.6278 GB, free: 3.18 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.5113, allocations: 261.5 kB / 0.6281 GB, free: 2.934 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001369/0.5127, allocations: 1.049 MB / 0.6291 GB, free: 1.84 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.513, allocations: 0.8591 MB / 0.6299 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.5132, allocations: 39.44 kB / 0.63 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of SimCode: time 3.71e-07/0.5132, allocations: 0 / 0.63 GB, free: 0.9141 MB / 462.1 MB Notification: Performance of Templates: time 0.01289/0.5261, allocations: 10.21 MB / 0.6399 GB, free: 6.816 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++ -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.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