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.001396/0.001396, allocations: 96.14 kB / 15.87 MB, free: 16 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.001533/0.001533, allocations: 195.5 kB / 16.79 MB, free: 6.812 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.329/1.329, allocations: 222.9 MB / 240.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7385/0.7385, allocations: 132.2 MB / 422.8 MB, free: 2.043 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001055/0.001055, allocations: 59.78 kB / 0.5017 GB, free: 4.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4414/0.4424, allocations: 80.2 MB / 0.58 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01786/0.4603, allocations: 17.41 MB / 0.597 GB, free: 8.105 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00806/0.4684, allocations: 4.933 MB / 0.6018 GB, free: 4.641 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.4698, allocations: 11.81 kB / 0.6019 GB, free: 4.637 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001239/0.471, allocations: 215.6 kB / 0.6021 GB, free: 4.52 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.4734, allocations: 0.5604 MB / 0.6026 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00229/0.4757, allocations: 0.6477 MB / 0.6032 GB, free: 3.648 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001641/0.4773, allocations: 1.268 MB / 0.6045 GB, free: 2.949 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004567/0.4778, allocations: 291.5 kB / 0.6048 GB, free: 2.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006673/0.4785, allocations: 385.1 kB / 0.6051 GB, free: 2.555 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000504/0.479, allocations: 321.7 kB / 0.6054 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.969e-05/0.479, allocations: 19.41 kB / 0.6055 GB, free: 2.367 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.4804, allocations: 0.6953 MB / 0.6061 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001272/0.4805, allocations: 117.5 kB / 0.6062 GB, free: 1.906 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002407/0.4808, allocations: 236.3 kB / 0.6065 GB, free: 1.754 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008484/0.4816, allocations: 0.6264 MB / 0.6071 GB, free: 1.367 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.4816, allocations: 0 / 0.6071 GB, free: 1.367 MB / 446.1 MB Notification: Performance of FrontEnd: time 7.61e-07/0.4816, allocations: 4 kB / 0.6071 GB, free: 1.363 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.4816, allocations: 0 / 0.6071 GB, free: 1.363 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.00141/0.4831, allocations: 0.8807 MB / 0.6079 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.4831, allocations: 9.469 kB / 0.608 GB, free: 0.6133 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002144/0.4833, allocations: 57.53 kB / 0.608 GB, free: 0.5859 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006092/0.484, allocations: 451.6 kB / 0.6084 GB, free: 208 kB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/0.484, allocations: 24.09 kB / 0.6085 GB, free: 192 kB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.682e-05/0.484, allocations: 28.34 kB / 0.6085 GB, free: 184 kB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006335/0.4847, allocations: 283 kB / 0.6088 GB, free: 15.99 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.595e-05/0.4847, allocations: 4.938 kB / 0.6088 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.4847, allocations: 10.09 kB / 0.6088 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.271e-05/0.4848, allocations: 6.531 kB / 0.6088 GB, free: 15.98 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.4853, allocations: 186.5 kB / 0.609 GB, free: 15.89 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.002027/0.4873, allocations: 1.486 MB / 0.6104 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003433/0.4877, allocations: 157.3 kB / 0.6106 GB, free: 14.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001863/0.4878, allocations: 93.58 kB / 0.6106 GB, free: 14.43 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001694/0.4896, allocations: 1.282 MB / 0.6119 GB, free: 13.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.4896, allocations: 35.78 kB / 0.6119 GB, free: 13.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.4896, allocations: 0 / 0.6119 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006518/0.4903, allocations: 243.2 kB / 0.6122 GB, free: 12.92 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.039e-05/0.4903, allocations: 60.73 kB / 0.6122 GB, free: 12.85 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007014/0.491, allocations: 0.5816 MB / 0.6128 GB, free: 12.52 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.815e-05/0.4911, allocations: 27.02 kB / 0.6128 GB, free: 12.48 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002192/0.4913, allocations: 278.8 kB / 0.6131 GB, free: 12.23 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.141e-05/0.4913, allocations: 57.16 kB / 0.6131 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001087/0.4914, allocations: 66.77 kB / 0.6132 GB, free: 12.14 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.4916, allocations: 359 kB / 0.6135 GB, free: 11.79 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/0.4918, allocations: 78.09 kB / 0.6136 GB, free: 11.75 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003083/0.4921, allocations: 208.1 kB / 0.6138 GB, free: 11.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004294/0.4926, allocations: 238.5 kB / 0.614 GB, free: 11.39 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4926, allocations: 1.031 kB / 0.614 GB, free: 11.39 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006441/0.4932, allocations: 317 kB / 0.6143 GB, free: 11.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.4933, allocations: 9.875 kB / 0.6144 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.4933, allocations: 1.469 kB / 0.6144 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.4933, allocations: 9.375 kB / 0.6144 GB, free: 11.22 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002416/0.4935, allocations: 59.09 kB / 0.6144 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.041e-05/0.4936, allocations: 4.469 kB / 0.6144 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003294/0.4939, allocations: 46.34 kB / 0.6145 GB, free: 11.18 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.578e-05/0.4939, allocations: 14.28 kB / 0.6145 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003296/0.4943, allocations: 215.5 kB / 0.6147 GB, free: 11.03 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003006/0.4946, allocations: 220 kB / 0.6149 GB, free: 10.84 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003972/0.495, allocations: 235.6 kB / 0.6151 GB, free: 10.66 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.553e-06/0.495, allocations: 1.281 kB / 0.6151 GB, free: 10.66 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0005711/0.4956, allocations: 308.3 kB / 0.6154 GB, free: 10.5 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.809e-06/0.4956, allocations: 9.531 kB / 0.6154 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.4956, allocations: 2.625 kB / 0.6154 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.781e-06/0.4956, allocations: 3.75 kB / 0.6154 GB, free: 10.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.4959, allocations: 67.08 kB / 0.6155 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.4959, allocations: 4.688 kB / 0.6155 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003434/0.4962, allocations: 42 kB / 0.6155 GB, free: 10.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.666e-05/0.4963, allocations: 15.62 kB / 0.6156 GB, free: 10.45 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.000122/0.4964, allocations: 201.6 kB / 0.6157 GB, free: 10.25 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.502e-05/0.4965, allocations: 50.69 kB / 0.6158 GB, free: 10.22 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005647/0.4971, allocations: 255.8 kB / 0.616 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.528e-06/0.4971, allocations: 3.156 kB / 0.616 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.4971, allocations: 4 kB / 0.616 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.4971, allocations: 0 / 0.616 GB, free: 10.07 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/0.4982, allocations: 0.736 MB / 0.6168 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.4982, allocations: 1.344 kB / 0.6168 GB, free: 9.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.4983, allocations: 36.8 kB / 0.6168 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.597e-06/0.4983, allocations: 1.188 kB / 0.6168 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4983, allocations: 3.531 kB / 0.6168 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.4984, allocations: 1.25 kB / 0.6168 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.4984, allocations: 2.188 kB / 0.6168 GB, free: 9.449 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005533/0.4989, allocations: 368.1 kB / 0.6172 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.4991, allocations: 136.6 kB / 0.6173 GB, free: 9.035 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.4992, allocations: 6.844 kB / 0.6173 GB, free: 9.031 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.4994, allocations: 23.78 kB / 0.6173 GB, free: 9.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.4995, allocations: 23.14 kB / 0.6173 GB, free: 9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.4995, allocations: 5.219 kB / 0.6173 GB, free: 9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005222/0.5, allocations: 420.2 kB / 0.6178 GB, free: 8.766 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5, allocations: 0 / 0.6178 GB, free: 8.766 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008465/0.5009, allocations: 228.5 kB / 0.618 GB, free: 8.719 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.00114/0.502, allocations: 496.7 kB / 0.6184 GB, free: 8.504 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007317/0.5028, allocations: 322.8 kB / 0.6187 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.5028, allocations: 3.938 kB / 0.6188 GB, free: 8.367 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002147/0.503, allocations: 93.08 kB / 0.6188 GB, free: 8.328 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001275/0.5043, allocations: 253.7 kB / 0.6191 GB, free: 8.207 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001498/0.5058, allocations: 0.9849 MB / 0.62 GB, free: 7.504 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004702/0.5063, allocations: 0.8392 MB / 0.6209 GB, free: 6.734 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.5064, allocations: 45.11 kB / 0.6209 GB, free: 6.719 MB / 462.1 MB Notification: Performance of SimCode: time 2.4e-07/0.5064, allocations: 1.062 kB / 0.6209 GB, free: 6.719 MB / 462.1 MB Notification: Performance of Templates: time 0.01214/0.5185, allocations: 8.562 MB / 0.6293 GB, free: 14.7 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