Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005104/0.005104, allocations: 99.77 kB / 15.87 MB, free: 6.328 MB / 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: 191.1 kB / 16.79 MB, free: 6.254 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.286/1.286, allocations: 222.9 MB / 240.4 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7347/0.7347, allocations: 132.2 MB / 422.8 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 59.84 kB / 0.5017 GB, free: 4.348 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.437/0.4381, allocations: 80.21 MB / 0.58 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.02078/0.4589, allocations: 15.5 MB / 0.5952 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008342/0.4673, allocations: 4.351 MB / 0.5994 GB, free: 6.422 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008335/0.4682, allocations: 19.62 kB / 0.5994 GB, free: 6.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001036/0.4692, allocations: 222.4 kB / 0.5996 GB, free: 6.293 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001753/0.471, allocations: 0.549 MB / 0.6002 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.4731, allocations: 0.631 MB / 0.6008 GB, free: 5.652 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00173/0.4749, allocations: 1.313 MB / 0.6021 GB, free: 4.926 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005002/0.4754, allocations: 294.2 kB / 0.6024 GB, free: 4.746 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007852/0.4762, allocations: 381.2 kB / 0.6027 GB, free: 4.539 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.4766, allocations: 332.4 kB / 0.603 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.857e-05/0.4767, allocations: 17.28 kB / 0.6031 GB, free: 4.348 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001364/0.4781, allocations: 0.6045 MB / 0.6036 GB, free: 4.012 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001171/0.4782, allocations: 85.23 kB / 0.6037 GB, free: 3.953 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002615/0.4785, allocations: 223.6 kB / 0.6039 GB, free: 3.809 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008721/0.4794, allocations: 0.5389 MB / 0.6045 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.4794, allocations: 1.406 kB / 0.6045 GB, free: 3.469 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.4794, allocations: 0 / 0.6045 GB, free: 3.469 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.4794, allocations: 3.938 kB / 0.6045 GB, free: 3.465 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001368/0.4808, allocations: 0.8239 MB / 0.6053 GB, free: 2.758 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.4808, allocations: 8.844 kB / 0.6053 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.481, allocations: 55.56 kB / 0.6053 GB, free: 2.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000584/0.4816, allocations: 418.8 kB / 0.6057 GB, free: 2.363 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.4816, allocations: 20.38 kB / 0.6058 GB, free: 2.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.363e-05/0.4816, allocations: 26.03 kB / 0.6058 GB, free: 2.348 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004446/0.4821, allocations: 210.2 kB / 0.606 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.4821, allocations: 0 / 0.606 GB, free: 2.219 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.276e-05/0.4821, allocations: 13.97 kB / 0.606 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4822, allocations: 4.781 kB / 0.606 GB, free: 2.207 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.4826, allocations: 162.5 kB / 0.6062 GB, free: 2.137 MB / 446.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.001591/0.4842, allocations: 0.9558 MB / 0.6071 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.4845, allocations: 131 kB / 0.6072 GB, free: 1.254 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.4847, allocations: 69.34 kB / 0.6073 GB, free: 1.219 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002825/0.4849, allocations: 336.4 kB / 0.6076 GB, free: 0.832 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/0.485, allocations: 48 kB / 0.6076 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of pre-optimization done (n=14): time 1.222e-06/0.485, allocations: 0 / 0.6076 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.000634/0.4856, allocations: 238.1 kB / 0.6079 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.4857, allocations: 53.19 kB / 0.6079 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005751/0.4863, allocations: 474.3 kB / 0.6084 GB, free: 312 kB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.4863, allocations: 35.62 kB / 0.6084 GB, free: 272 kB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.4865, allocations: 228.6 kB / 0.6086 GB, free: 64 kB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.007e-05/0.4866, allocations: 53.8 kB / 0.6087 GB, free: 16 kB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/0.4867, allocations: 54.52 kB / 0.6087 GB, free: 15.98 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001475/0.4868, allocations: 356.5 kB / 0.6091 GB, free: 15.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001867/0.487, allocations: 73.34 kB / 0.6091 GB, free: 15.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.4873, allocations: 161 kB / 0.6093 GB, free: 15.46 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003753/0.4877, allocations: 152.5 kB / 0.6094 GB, free: 15.38 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4877, allocations: 1 kB / 0.6094 GB, free: 15.38 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005281/0.4882, allocations: 259.7 kB / 0.6097 GB, free: 15.24 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.4883, allocations: 5.125 kB / 0.6097 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.4883, allocations: 0 / 0.6097 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.4883, allocations: 2.219 kB / 0.6097 GB, free: 15.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002394/0.4885, allocations: 51.06 kB / 0.6097 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.4885, allocations: 1.344 kB / 0.6097 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.4889, allocations: 49.69 kB / 0.6098 GB, free: 15.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.489, allocations: 15.39 kB / 0.6098 GB, free: 15.19 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003224/0.4893, allocations: 189 kB / 0.61 GB, free: 15.05 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002637/0.4896, allocations: 169.2 kB / 0.6102 GB, free: 14.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000312/0.4899, allocations: 158.9 kB / 0.6103 GB, free: 14.81 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.152e-06/0.4899, allocations: 1.281 kB / 0.6103 GB, free: 14.81 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization_lambda0): time 0.0005128/0.4904, allocations: 261.9 kB / 0.6106 GB, free: 14.67 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.4904, allocations: 5.281 kB / 0.6106 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4905, allocations: 6.141 kB / 0.6106 GB, free: 14.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.158e-06/0.4905, allocations: 6.094 kB / 0.6106 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.4907, allocations: 42.19 kB / 0.6106 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.4907, allocations: 3.188 kB / 0.6106 GB, free: 14.66 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/0.491, allocations: 38.59 kB / 0.6107 GB, free: 14.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.647e-05/0.4911, allocations: 15.8 kB / 0.6107 GB, free: 14.63 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 (24): * Single equations (assignments): 24 * 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.0001262/0.4912, allocations: 193.5 kB / 0.6109 GB, free: 14.44 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.602e-05/0.4913, allocations: 42.91 kB / 0.6109 GB, free: 14.41 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005632/0.4919, allocations: 260.1 kB / 0.6111 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.4919, allocations: 1.281 kB / 0.6111 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4919, allocations: 1.25 kB / 0.6111 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.4919, allocations: 0 / 0.6111 GB, free: 14.26 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.4929, allocations: 0.7056 MB / 0.6118 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.4929, allocations: 1.438 kB / 0.6118 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.4931, allocations: 30.03 kB / 0.6119 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.4931, allocations: 5.625 kB / 0.6119 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.853e-05/0.4931, allocations: 10.53 kB / 0.6119 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/0.4931, allocations: 6.094 kB / 0.6119 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.4931, allocations: 1.938 kB / 0.6119 GB, free: 13.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004738/0.4936, allocations: 337.9 kB / 0.6122 GB, free: 13.39 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.4938, allocations: 140.6 kB / 0.6123 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.592e-05/0.4938, allocations: 6.188 kB / 0.6123 GB, free: 13.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/0.4941, allocations: 23.64 kB / 0.6124 GB, free: 13.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.46e-05/0.4941, allocations: 17.89 kB / 0.6124 GB, free: 13.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.4941, allocations: 9.281 kB / 0.6124 GB, free: 13.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0004218/0.4946, allocations: 333.3 kB / 0.6127 GB, free: 13.02 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4946, allocations: 0 / 0.6127 GB, free: 13.02 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007733/0.4954, allocations: 202.3 kB / 0.6129 GB, free: 12.98 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 (16): * Single equations (assignments): 14 * 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.001122/0.4965, allocations: 476.7 kB / 0.6134 GB, free: 12.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007063/0.4972, allocations: 276.5 kB / 0.6136 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.4972, allocations: 1.438 kB / 0.6136 GB, free: 12.66 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.4974, allocations: 79.77 kB / 0.6137 GB, free: 12.62 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001294/0.4987, allocations: 220.5 kB / 0.6139 GB, free: 12.52 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001411/0.5001, allocations: 0.8718 MB / 0.6148 GB, free: 11.88 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005438/0.5007, allocations: 0.8231 MB / 0.6156 GB, free: 11.12 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.63e-05/0.5008, allocations: 45.11 kB / 0.6156 GB, free: 11.1 MB / 462.1 MB Notification: Performance of SimCode: time 2.91e-07/0.5008, allocations: 3.938 kB / 0.6156 GB, free: 11.1 MB / 462.1 MB Notification: Performance of Templates: time 0.01187/0.5127, allocations: 7.416 MB / 0.6229 GB, free: 5.539 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTableCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o] Error 1