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.0009257/0.000926, 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.0008006/0.0008007, allocations: 173.5 kB / 16.58 MB, free: 6.348 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.417/1.417, allocations: 223.3 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7916/0.7916, allocations: 132.3 MB / 424 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000294/0.000294, allocations: 12.56 kB / 0.504 GB, free: 4.266 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5453/0.5456, allocations: 81.57 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.02193/0.5676, allocations: 16.02 MB / 0.5993 GB, free: 8.641 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.009616/0.5773, allocations: 4.597 MB / 0.6038 GB, free: 5.363 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008883/0.5782, allocations: 15.62 kB / 0.6038 GB, free: 5.355 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001006/0.5792, allocations: 189.2 kB / 0.604 GB, free: 5.211 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001812/0.5811, allocations: 0.4938 MB / 0.6045 GB, free: 4.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.5832, allocations: 0.6091 MB / 0.6051 GB, free: 4.414 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001494/0.5847, allocations: 1.09 MB / 0.6061 GB, free: 3.762 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004394/0.5852, allocations: 263.2 kB / 0.6064 GB, free: 3.602 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006812/0.5859, allocations: 353.2 kB / 0.6067 GB, free: 3.414 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004365/0.5863, allocations: 297.5 kB / 0.607 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.869e-05/0.5864, allocations: 15.88 kB / 0.607 GB, free: 3.246 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001283/0.5877, allocations: 0.597 MB / 0.6076 GB, free: 2.926 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.5878, allocations: 114.8 kB / 0.6077 GB, free: 2.852 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.5879, allocations: 108.4 kB / 0.6078 GB, free: 2.781 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008112/0.5888, allocations: 0.5937 MB / 0.6084 GB, free: 2.41 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.5888, allocations: 0 / 0.6084 GB, free: 2.41 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5888, allocations: 1.031 kB / 0.6084 GB, free: 2.41 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.5888, allocations: 0 / 0.6084 GB, free: 2.41 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.001263/0.5901, allocations: 0.799 MB / 0.6092 GB, free: 1.719 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.5901, allocations: 9.781 kB / 0.6092 GB, free: 1.719 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/0.5903, allocations: 57.12 kB / 0.6093 GB, free: 1.691 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.591, allocations: 429.9 kB / 0.6097 GB, free: 1.328 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.846e-05/0.591, allocations: 21.44 kB / 0.6097 GB, free: 1.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.837e-05/0.5911, allocations: 30.97 kB / 0.6097 GB, free: 1.309 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000562/0.5916, allocations: 290.7 kB / 0.61 GB, free: 1.113 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.5917, allocations: 5 kB / 0.61 GB, free: 1.109 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.671e-05/0.5917, allocations: 10.19 kB / 0.61 GB, free: 1.102 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.5917, allocations: 10.44 kB / 0.61 GB, free: 1.098 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.5922, allocations: 195 kB / 0.6102 GB, free: 1.012 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.00203/0.5942, allocations: 1.473 MB / 0.6116 GB, free: 15.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.5946, allocations: 169.3 kB / 0.6118 GB, free: 15.61 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001908/0.5948, allocations: 87.25 kB / 0.6119 GB, free: 15.57 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.5964, allocations: 1.305 MB / 0.6132 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5965, allocations: 32.03 kB / 0.6132 GB, free: 14.18 MB / 462.1 MB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5965, allocations: 0 / 0.6132 GB, free: 14.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006712/0.5972, allocations: 259.3 kB / 0.6134 GB, free: 14.05 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.5972, allocations: 57.38 kB / 0.6135 GB, free: 13.98 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000773/0.598, allocations: 0.584 MB / 0.6141 GB, free: 13.64 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.598, allocations: 32.14 kB / 0.6141 GB, free: 13.61 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.5983, allocations: 265.8 kB / 0.6143 GB, free: 13.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.5983, allocations: 62.78 kB / 0.6144 GB, free: 13.31 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.5983, allocations: 4 kB / 0.6144 GB, free: 13.31 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.5985, allocations: 368.1 kB / 0.6148 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.5987, allocations: 70.95 kB / 0.6148 GB, free: 12.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000311/0.5991, allocations: 210.9 kB / 0.615 GB, free: 12.74 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.5993, allocations: 105.5 kB / 0.6151 GB, free: 12.69 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.5993, allocations: 1.031 kB / 0.6151 GB, free: 12.69 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006151/0.5999, allocations: 316.3 kB / 0.6154 GB, free: 12.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.6001, allocations: 159 kB / 0.6156 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.6001, allocations: 3.031 kB / 0.6156 GB, free: 12.35 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.6001, allocations: 12.36 kB / 0.6156 GB, free: 12.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002533/0.6004, allocations: 66.05 kB / 0.6157 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/0.6004, allocations: 11.55 kB / 0.6157 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003358/0.6007, allocations: 52.56 kB / 0.6157 GB, free: 12.29 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.061e-05/0.6008, allocations: 15.27 kB / 0.6157 GB, free: 12.28 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.045e-06/0.6008, allocations: 7.281 kB / 0.6157 GB, free: 12.28 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005105/0.6013, allocations: 242.1 kB / 0.616 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.6014, allocations: 7.344 kB / 0.616 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.135e-06/0.6014, allocations: 4.5 kB / 0.616 GB, free: 12.17 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.6016, allocations: 61.28 kB / 0.616 GB, free: 12.16 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.6016, allocations: 8.641 kB / 0.616 GB, free: 12.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000277/0.6019, allocations: 47.2 kB / 0.6161 GB, free: 12.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.982e-05/0.6019, allocations: 22.33 kB / 0.6161 GB, free: 12.11 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002503/0.6022, allocations: 260.8 kB / 0.6164 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.058e-05/0.6023, allocations: 49.64 kB / 0.6164 GB, free: 11.86 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005966/0.6029, allocations: 268.9 kB / 0.6167 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.014e-05/0.6029, allocations: 2.094 kB / 0.6167 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.6029, allocations: 1 kB / 0.6167 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.6029, allocations: 0 / 0.6167 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.6041, allocations: 0.7417 MB / 0.6174 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.6041, allocations: 1.969 kB / 0.6174 GB, free: 11.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001302/0.6042, allocations: 37.83 kB / 0.6174 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.6042, allocations: 2.281 kB / 0.6174 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.6043, allocations: 10.56 kB / 0.6174 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.6043, allocations: 9.844 kB / 0.6175 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.6043, allocations: 2.312 kB / 0.6175 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004959/0.6048, allocations: 356.4 kB / 0.6178 GB, free: 10.8 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.605, allocations: 157.9 kB / 0.6179 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.57e-05/0.605, allocations: 1.812 kB / 0.6179 GB, free: 10.65 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.6052, allocations: 23.58 kB / 0.618 GB, free: 10.64 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.6053, allocations: 14.55 kB / 0.618 GB, free: 10.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.794e-05/0.6053, allocations: 9.625 kB / 0.618 GB, free: 10.63 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005273/0.6059, allocations: 416.1 kB / 0.6184 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6059, allocations: 0 / 0.6184 GB, free: 10.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008714/0.6068, allocations: 237.4 kB / 0.6186 GB, free: 10.34 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.6079, allocations: 485.4 kB / 0.6191 GB, free: 10.13 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007404/0.6087, allocations: 326.1 kB / 0.6194 GB, free: 10.01 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.6087, allocations: 4 kB / 0.6194 GB, free: 10 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002142/0.6089, allocations: 94.75 kB / 0.6195 GB, free: 9.965 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.6102, allocations: 254.5 kB / 0.6197 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.6118, allocations: 1.002 MB / 0.6207 GB, free: 9.133 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.6123, allocations: 0.8504 MB / 0.6215 GB, free: 8.352 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.669e-05/0.6124, allocations: 37.31 kB / 0.6216 GB, free: 8.344 MB / 462.1 MB Notification: Performance of SimCode: time 1.834e-06/0.6124, allocations: 0 / 0.6216 GB, free: 8.344 MB / 462.1 MB Notification: Performance of Templates: time 0.01362/0.626, allocations: 8.517 MB / 0.6299 GB, free: 0.7148 MB / 462.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++ 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_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