Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007627/0.0007627, 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.0008079/0.0008079, allocations: 170.5 kB / 16.58 MB, free: 6.398 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.238/1.238, allocations: 223.2 MB / 240.6 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8331/0.8331, allocations: 135.3 MB / 427 MB, free: 14.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003087/0.0003088, allocations: 9.719 kB / 0.5076 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1385, allocations: 82.33 MB / 0.588 GB, free: 2.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01435/0.1528, allocations: 16 MB / 0.6036 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.2685/0.4213, allocations: 4.592 MB / 0.6081 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004676/0.4219, allocations: 14.94 kB / 0.6081 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006776/0.4225, allocations: 189.2 kB / 0.6083 GB, free: 34.83 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001039/0.4236, allocations: 0.4957 MB / 0.6088 GB, free: 34.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.425, allocations: 0.6034 MB / 0.6094 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009551/0.426, allocations: 1.09 MB / 0.6104 GB, free: 34.79 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003764/0.4263, allocations: 263.4 kB / 0.6107 GB, free: 34.77 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004754/0.4268, allocations: 364.8 kB / 0.611 GB, free: 34.76 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.4271, allocations: 291.2 kB / 0.6113 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.4272, allocations: 17.19 kB / 0.6113 GB, free: 34.7 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008195/0.428, allocations: 0.5952 MB / 0.6119 GB, free: 34.65 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.4281, allocations: 114.7 kB / 0.612 GB, free: 34.63 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.091e-05/0.4282, allocations: 110.6 kB / 0.6121 GB, free: 34.59 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005292/0.4287, allocations: 0.5896 MB / 0.6127 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4287, allocations: 0 / 0.6127 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4288, allocations: 0 / 0.6127 GB, free: 34.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.4288, allocations: 0 / 0.6127 GB, free: 34.52 MB / 0.4981 GB 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.0008745/0.4296, allocations: 0.8015 MB / 0.6135 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.4297, allocations: 8.938 kB / 0.6135 GB, free: 33.94 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001291/0.4298, allocations: 62.42 kB / 0.6136 GB, free: 33.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004715/0.4303, allocations: 419.4 kB / 0.614 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.4303, allocations: 20.62 kB / 0.614 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.4304, allocations: 30.75 kB / 0.614 GB, free: 33.67 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004298/0.4308, allocations: 291.6 kB / 0.6143 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.4308, allocations: 1.734 kB / 0.6143 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.233e-05/0.4309, allocations: 14.34 kB / 0.6143 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.4309, allocations: 3.219 kB / 0.6143 GB, free: 33.59 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000334/0.4312, allocations: 203.9 kB / 0.6145 GB, free: 33.57 MB / 0.4981 GB 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.001351/0.4326, allocations: 1.476 MB / 0.6159 GB, free: 32.7 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000252/0.4328, allocations: 165.2 kB / 0.6161 GB, free: 32.67 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.433, allocations: 96.69 kB / 0.6162 GB, free: 32.66 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001133/0.4341, allocations: 1.278 MB / 0.6174 GB, free: 31.52 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.4342, allocations: 48.31 kB / 0.6175 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.846e-06/0.4342, allocations: 3.984 kB / 0.6175 GB, free: 31.47 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005102/0.4347, allocations: 261.8 kB / 0.6177 GB, free: 31.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.4347, allocations: 54.78 kB / 0.6178 GB, free: 31.34 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.4352, allocations: 0.5818 MB / 0.6184 GB, free: 31.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.4352, allocations: 32.23 kB / 0.6184 GB, free: 31.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/0.4354, allocations: 268.4 kB / 0.6186 GB, free: 31.05 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.645e-05/0.4354, allocations: 51.05 kB / 0.6187 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.084e-05/0.4354, allocations: 6.438 kB / 0.6187 GB, free: 31.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/0.4355, allocations: 357 kB / 0.619 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001461/0.4357, allocations: 77.73 kB / 0.6191 GB, free: 30.71 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002253/0.4359, allocations: 213.6 kB / 0.6193 GB, free: 30.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.4361, allocations: 104 kB / 0.6194 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.4361, allocations: 3.375 kB / 0.6194 GB, free: 30.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004516/0.4366, allocations: 322.4 kB / 0.6197 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.039e-05/0.4366, allocations: 160.6 kB / 0.6199 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.645e-06/0.4366, allocations: 3.375 kB / 0.6199 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.4367, allocations: 5.953 kB / 0.6199 GB, free: 30.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002175/0.4369, allocations: 69.25 kB / 0.62 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.4369, allocations: 3.188 kB / 0.62 GB, free: 30.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002837/0.4372, allocations: 51.77 kB / 0.62 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.4372, allocations: 13.41 kB / 0.62 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.831e-06/0.4372, allocations: 3.312 kB / 0.62 GB, free: 30.29 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003831/0.4376, allocations: 250.8 kB / 0.6203 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.4376, allocations: 3.281 kB / 0.6203 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.789e-06/0.4377, allocations: 7.25 kB / 0.6203 GB, free: 30.26 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001865/0.4378, allocations: 63.98 kB / 0.6203 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.4379, allocations: 8.688 kB / 0.6203 GB, free: 30.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002538/0.4381, allocations: 47.09 kB / 0.6204 GB, free: 30.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.4382, allocations: 12.66 kB / 0.6204 GB, free: 30.24 MB / 0.4981 GB 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.0001775/0.4383, allocations: 268.5 kB / 0.6207 GB, free: 30.04 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.538e-05/0.4384, allocations: 47.47 kB / 0.6207 GB, free: 30.01 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004955/0.4389, allocations: 267.7 kB / 0.621 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.585e-06/0.4389, allocations: 2.938 kB / 0.621 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.4389, allocations: 0 / 0.621 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.4389, allocations: 0 / 0.621 GB, free: 29.96 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008078/0.4397, allocations: 0.7465 MB / 0.6217 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.4398, allocations: 3.875 kB / 0.6217 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001087/0.4399, allocations: 36.03 kB / 0.6217 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.4399, allocations: 0 / 0.6217 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.4399, allocations: 6.594 kB / 0.6217 GB, free: 29.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4399, allocations: 9.672 kB / 0.6217 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4399, allocations: 7.125 kB / 0.6217 GB, free: 29.6 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000349/0.4403, allocations: 368.7 kB / 0.6221 GB, free: 29.39 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001118/0.4404, allocations: 157.4 kB / 0.6222 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.246e-05/0.4405, allocations: 6.312 kB / 0.6223 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001836/0.4406, allocations: 18.58 kB / 0.6223 GB, free: 29.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.4407, allocations: 21.75 kB / 0.6223 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.219e-05/0.4407, allocations: 9.266 kB / 0.6223 GB, free: 29.26 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003762/0.4411, allocations: 414.9 kB / 0.6227 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4411, allocations: 0 / 0.6227 GB, free: 29.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000712/0.4418, allocations: 228.4 kB / 0.6229 GB, free: 29.15 MB / 0.4981 GB 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.000965/0.4428, allocations: 497.9 kB / 0.6234 GB, free: 28.96 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005612/0.4434, allocations: 332.9 kB / 0.6237 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4434, allocations: 0 / 0.6237 GB, free: 28.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.4435, allocations: 100.3 kB / 0.6238 GB, free: 28.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4446, allocations: 247.2 kB / 0.624 GB, free: 28.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.4457, allocations: 0.9977 MB / 0.625 GB, free: 28.38 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002304/0.4459, allocations: 0.8472 MB / 0.6258 GB, free: 27.67 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.215e-05/0.446, allocations: 46.3 kB / 0.6259 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of SimCode: time 4.11e-07/0.446, allocations: 3.938 kB / 0.6259 GB, free: 27.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.01067/0.4567, allocations: 8.486 MB / 0.6342 GB, free: 26.85 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1