Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008065/0.0008065, allocations: 92.16 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.001023/0.001023, allocations: 182.9 kB / 16.92 MB, free: 6.926 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.358/1.358, allocations: 223.3 MB / 241 MB, free: 5.262 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7393/0.7393, allocations: 132.3 MB / 424.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 15.98 kB / 0.5046 GB, free: 3.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4533/0.4537, allocations: 81.58 MB / 0.5843 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01925/0.473, allocations: 16.86 MB / 0.6008 GB, free: 7.902 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008075/0.4811, allocations: 4.864 MB / 0.6055 GB, free: 4.438 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007701/0.4819, allocations: 14.09 kB / 0.6055 GB, free: 4.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009159/0.4828, allocations: 208.3 kB / 0.6057 GB, free: 4.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.4846, allocations: 0.5581 MB / 0.6063 GB, free: 3.832 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002244/0.4869, allocations: 0.647 MB / 0.6069 GB, free: 3.387 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001772/0.4886, allocations: 1.267 MB / 0.6081 GB, free: 2.688 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005196/0.4892, allocations: 288 kB / 0.6084 GB, free: 2.508 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007542/0.4899, allocations: 374.7 kB / 0.6088 GB, free: 2.301 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.4904, allocations: 308 kB / 0.6091 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.901e-05/0.4905, allocations: 15.47 kB / 0.6091 GB, free: 2.125 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.492, allocations: 0.6875 MB / 0.6098 GB, free: 1.742 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001425/0.4921, allocations: 122.1 kB / 0.6099 GB, free: 1.664 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000267/0.4924, allocations: 244.2 kB / 0.6101 GB, free: 1.496 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008799/0.4933, allocations: 0.6213 MB / 0.6107 GB, free: 1.113 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4933, allocations: 1.094 kB / 0.6107 GB, free: 1.113 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.317e-06/0.4933, allocations: 3.984 kB / 0.6107 GB, free: 1.109 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.4933, allocations: 0 / 0.6107 GB, free: 1.109 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001307/0.4947, allocations: 0.7892 MB / 0.6115 GB, free: 432 kB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.4947, allocations: 8.969 kB / 0.6115 GB, free: 432 kB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001854/0.4949, allocations: 62.45 kB / 0.6116 GB, free: 400 kB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006643/0.4956, allocations: 450.4 kB / 0.612 GB, free: 8 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.4956, allocations: 22 kB / 0.612 GB, free: 0 / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.514e-05/0.4957, allocations: 35.33 kB / 0.612 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005394/0.4962, allocations: 293.5 kB / 0.6123 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4963, allocations: 0 / 0.6123 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.4963, allocations: 9.469 kB / 0.6123 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.4963, allocations: 11.22 kB / 0.6123 GB, free: 15.77 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004738/0.4968, allocations: 200.9 kB / 0.6125 GB, free: 15.68 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.001985/0.4988, allocations: 1.472 MB / 0.614 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003439/0.4991, allocations: 170.6 kB / 0.6141 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.4994, allocations: 88.22 kB / 0.6142 GB, free: 14.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001787/0.5012, allocations: 1.296 MB / 0.6155 GB, free: 12.89 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.5012, allocations: 36.62 kB / 0.6155 GB, free: 12.85 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.643e-06/0.5012, allocations: 0 / 0.6155 GB, free: 12.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008315/0.502, allocations: 273.7 kB / 0.6158 GB, free: 12.71 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.854e-05/0.5021, allocations: 52.81 kB / 0.6158 GB, free: 12.65 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009901/0.5031, allocations: 0.5815 MB / 0.6164 GB, free: 12.31 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.5032, allocations: 32.3 kB / 0.6164 GB, free: 12.28 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002753/0.5034, allocations: 268.3 kB / 0.6167 GB, free: 12.04 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.386e-05/0.5035, allocations: 54.41 kB / 0.6167 GB, free: 11.99 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.546e-05/0.5036, allocations: 30.39 kB / 0.6168 GB, free: 11.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002101/0.5038, allocations: 359.9 kB / 0.6171 GB, free: 11.61 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/0.504, allocations: 84.72 kB / 0.6172 GB, free: 11.57 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/0.5044, allocations: 208.8 kB / 0.6174 GB, free: 11.39 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.505, allocations: 249.5 kB / 0.6176 GB, free: 11.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.505, allocations: 0 / 0.6176 GB, free: 11.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007574/0.5057, allocations: 332.4 kB / 0.6179 GB, free: 11.04 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001088/0.5058, allocations: 158 kB / 0.6181 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.5059, allocations: 3.656 kB / 0.6181 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/0.5059, allocations: 3.656 kB / 0.6181 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.5062, allocations: 69.45 kB / 0.6182 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.5062, allocations: 8.5 kB / 0.6182 GB, free: 10.84 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.5066, allocations: 48.94 kB / 0.6182 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.5067, allocations: 14.84 kB / 0.6182 GB, free: 10.8 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.225e-06/0.5067, allocations: 6.094 kB / 0.6182 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005394/0.5072, allocations: 252.5 kB / 0.6185 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.5072, allocations: 6.25 kB / 0.6185 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.48e-06/0.5072, allocations: 4.469 kB / 0.6185 GB, free: 10.69 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000242/0.5075, allocations: 69.64 kB / 0.6186 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.194e-06/0.5075, allocations: 11.28 kB / 0.6186 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002972/0.5078, allocations: 39.89 kB / 0.6186 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.935e-05/0.5079, allocations: 19.64 kB / 0.6186 GB, free: 10.63 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002519/0.5081, allocations: 256 kB / 0.6189 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.361e-05/0.5082, allocations: 57.66 kB / 0.6189 GB, free: 10.37 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005995/0.5088, allocations: 268.4 kB / 0.6192 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.5088, allocations: 2.594 kB / 0.6192 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.5088, allocations: 7.938 kB / 0.6192 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5089, allocations: 0 / 0.6192 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.51, allocations: 0.7508 MB / 0.6199 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.51, allocations: 1.594 kB / 0.6199 GB, free: 9.602 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.5101, allocations: 34.03 kB / 0.62 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.808e-06/0.5101, allocations: 1.625 kB / 0.62 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.5101, allocations: 3.812 kB / 0.62 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.5102, allocations: 1.219 kB / 0.62 GB, free: 9.594 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.5102, allocations: 5.375 kB / 0.62 GB, free: 9.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004952/0.5107, allocations: 371.3 kB / 0.6203 GB, free: 9.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.5109, allocations: 150.4 kB / 0.6205 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.497e-05/0.5109, allocations: 6.031 kB / 0.6205 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.5111, allocations: 23.52 kB / 0.6205 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.785e-05/0.5112, allocations: 18.36 kB / 0.6205 GB, free: 9.145 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.521e-05/0.5112, allocations: 9.781 kB / 0.6205 GB, free: 9.141 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005013/0.5117, allocations: 427.7 kB / 0.6209 GB, free: 8.898 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5117, allocations: 3.938 kB / 0.6209 GB, free: 8.895 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008323/0.5126, allocations: 224.5 kB / 0.6211 GB, free: 8.852 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001203/0.5138, allocations: 483.7 kB / 0.6216 GB, free: 8.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007644/0.5146, allocations: 338.8 kB / 0.6219 GB, free: 8.512 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.5146, allocations: 0 / 0.6219 GB, free: 8.512 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000205/0.5148, allocations: 91.33 kB / 0.622 GB, free: 8.477 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/0.5162, allocations: 251.8 kB / 0.6223 GB, free: 8.359 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.5178, allocations: 1.024 MB / 0.6233 GB, free: 7.617 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004934/0.5183, allocations: 0.8427 MB / 0.6241 GB, free: 6.844 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.5184, allocations: 44.95 kB / 0.6241 GB, free: 6.828 MB / 462.1 MB Notification: Performance of SimCode: time 2.51e-07/0.5184, allocations: 0 / 0.6241 GB, free: 6.828 MB / 462.1 MB Notification: Performance of Templates: time 0.01212/0.5305, allocations: 8.498 MB / 0.6324 GB, free: 14.57 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1