Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001055/0.001055, allocations: 102.5 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.001582/0.001582, allocations: 178.6 kB / 16.58 MB, free: 6.859 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.453/1.453, 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/package.mo): time 0.7943/0.7943, allocations: 132.3 MB / 424 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003376, allocations: 12.62 kB / 0.504 GB, free: 4.238 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5614/0.5617, allocations: 81.58 MB / 0.5837 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV): time 0.02428/0.586, allocations: 20.49 MB / 0.6037 GB, free: 5.445 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0102/0.5963, allocations: 4.933 MB / 0.6085 GB, free: 1.473 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00135/0.5977, allocations: 17.78 kB / 0.6085 GB, free: 1.465 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009695/0.5987, allocations: 214.9 kB / 0.6087 GB, free: 1.285 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002898/0.6016, allocations: 0.6885 MB / 0.6094 GB, free: 0.7305 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002494/0.6041, allocations: 0.573 MB / 0.61 GB, free: 340 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003201/0.6073, allocations: 1.619 MB / 0.6115 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007479/0.6081, allocations: 386.5 kB / 0.6119 GB, free: 15.12 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.6094, allocations: 0.5144 MB / 0.6124 GB, free: 14.84 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007259/0.6101, allocations: 436.3 kB / 0.6128 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.839e-05/0.6102, allocations: 19.88 kB / 0.6128 GB, free: 14.59 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001381/0.6116, allocations: 0.5217 MB / 0.6133 GB, free: 14.31 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001649/0.6118, allocations: 108.2 kB / 0.6135 GB, free: 14.23 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002021/0.612, allocations: 154.4 kB / 0.6136 GB, free: 14.13 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001007/0.613, allocations: 0.7599 MB / 0.6143 GB, free: 13.62 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.613, allocations: 4 kB / 0.6143 GB, free: 13.61 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.613, allocations: 1.188 kB / 0.6143 GB, free: 13.61 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.698e-06/0.613, allocations: 0 / 0.6143 GB, free: 13.61 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001693/0.6147, allocations: 0.9383 MB / 0.6153 GB, free: 12.84 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.6148, allocations: 8.656 kB / 0.6153 GB, free: 12.84 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.6149, allocations: 77.56 kB / 0.6153 GB, free: 12.8 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008602/0.6158, allocations: 0.5324 MB / 0.6159 GB, free: 12.34 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.843e-05/0.6158, allocations: 32.41 kB / 0.6159 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.873e-05/0.6159, allocations: 42.52 kB / 0.6159 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006541/0.6166, allocations: 318.6 kB / 0.6162 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.6166, allocations: 0 / 0.6162 GB, free: 12.12 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.331e-05/0.6167, allocations: 15.12 kB / 0.6163 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.823e-05/0.6167, allocations: 11.91 kB / 0.6163 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005765/0.6173, allocations: 266.2 kB / 0.6165 GB, free: 11.99 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.002605/0.6199, allocations: 1.58 MB / 0.6181 GB, free: 10.66 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.6203, allocations: 188.9 kB / 0.6182 GB, free: 10.55 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.6205, allocations: 99.41 kB / 0.6183 GB, free: 10.5 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004075/0.6209, allocations: 421.4 kB / 0.6187 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.6209, allocations: 31.53 kB / 0.6188 GB, free: 9.98 MB / 462.1 MB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.621, allocations: 0 / 0.6188 GB, free: 9.98 MB / 462.1 MB Notification: Performance of matching and sorting (n=19): time 0.0008029/0.6218, allocations: 351.2 kB / 0.6191 GB, free: 9.801 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.893e-05/0.6218, allocations: 53.66 kB / 0.6192 GB, free: 9.738 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009406/0.6228, allocations: 0.649 MB / 0.6198 GB, free: 9.344 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.677e-05/0.6228, allocations: 35.8 kB / 0.6198 GB, free: 9.305 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.6231, allocations: 299.3 kB / 0.6201 GB, free: 9.039 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.447e-05/0.6232, allocations: 72.08 kB / 0.6202 GB, free: 8.977 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.343e-05/0.6232, allocations: 10.09 kB / 0.6202 GB, free: 8.969 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0002034/0.6234, allocations: 372 kB / 0.6205 GB, free: 8.609 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003007/0.6237, allocations: 130.4 kB / 0.6207 GB, free: 8.547 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003819/0.6241, allocations: 206.5 kB / 0.6209 GB, free: 8.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000339/0.6245, allocations: 157.8 kB / 0.621 GB, free: 8.336 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.6245, allocations: 0 / 0.621 GB, free: 8.336 MB / 462.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008662/0.6253, allocations: 449.4 kB / 0.6214 GB, free: 8.113 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.282e-05/0.6254, allocations: 119.3 kB / 0.6216 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6255, allocations: 1.188 kB / 0.6216 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6255, allocations: 2.656 kB / 0.6216 GB, free: 7.984 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008284/0.6263, allocations: 149.7 kB / 0.6217 GB, free: 7.941 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007634/0.6271, allocations: 1.185 MB / 0.6229 GB, free: 6.742 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005472/0.6276, allocations: 72.92 kB / 0.6229 GB, free: 6.695 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.682e-05/0.6277, allocations: 16.84 kB / 0.6229 GB, free: 6.691 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.6277, allocations: 5.125 kB / 0.6229 GB, free: 6.691 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000744/0.6285, allocations: 374.9 kB / 0.6233 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.6285, allocations: 1.438 kB / 0.6233 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.751e-06/0.6285, allocations: 3.094 kB / 0.6233 GB, free: 6.516 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004633/0.629, allocations: 114.5 kB / 0.6234 GB, free: 6.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.629, allocations: 7.469 kB / 0.6234 GB, free: 6.484 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.6294, allocations: 63.3 kB / 0.6235 GB, free: 6.445 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.76e-05/0.6294, allocations: 19.88 kB / 0.6235 GB, free: 6.438 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00033/0.6298, allocations: 263.8 kB / 0.6238 GB, free: 6.203 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.936e-05/0.6299, allocations: 66.58 kB / 0.6238 GB, free: 6.164 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007333/0.6306, allocations: 326.1 kB / 0.6241 GB, free: 5.973 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.6306, allocations: 10.34 kB / 0.6241 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.6306, allocations: 0 / 0.6241 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6307, allocations: 1.312 kB / 0.6241 GB, free: 5.965 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001424/0.6321, allocations: 0.9153 MB / 0.625 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.6321, allocations: 1.094 kB / 0.625 GB, free: 5.238 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002808/0.6324, allocations: 54.61 kB / 0.6251 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.6324, allocations: 2.406 kB / 0.6251 GB, free: 5.227 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/0.6324, allocations: 12.03 kB / 0.6251 GB, free: 5.219 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007066/0.6332, allocations: 1.186 MB / 0.6263 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.6332, allocations: 1.156 kB / 0.6263 GB, free: 4.016 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008575/0.634, allocations: 0.5329 MB / 0.6268 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.6343, allocations: 179.6 kB / 0.627 GB, free: 3.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.317e-05/0.6344, allocations: 11.55 kB / 0.627 GB, free: 3.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003092/0.6347, allocations: 29.28 kB / 0.627 GB, free: 3.461 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.6347, allocations: 16.98 kB / 0.627 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.122e-05/0.6348, allocations: 12 kB / 0.627 GB, free: 3.438 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0005869/0.6354, allocations: 451 kB / 0.6275 GB, free: 3 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6354, allocations: 0 / 0.6275 GB, free: 3 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0009821/0.6364, allocations: 307.4 kB / 0.6277 GB, free: 2.699 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (valDyn.val.filter.s[1],valDyn.val.filter.s[2]) * 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 (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005325/0.6369, allocations: 241.4 kB / 0.628 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001335/0.6382, allocations: 0.5151 MB / 0.6285 GB, free: 1.949 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.6383, allocations: 0 / 0.6285 GB, free: 1.949 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003334/0.6386, allocations: 138.5 kB / 0.6286 GB, free: 1.816 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.64, allocations: 297.5 kB / 0.6289 GB, free: 1.543 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.6418, allocations: 1.236 MB / 0.6301 GB, free: 268 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.6424, allocations: 0.8863 MB / 0.631 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.6425, allocations: 51.42 kB / 0.631 GB, free: 15.3 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.6425, allocations: 0 / 0.631 GB, free: 15.3 MB / 478.1 MB Notification: Performance of Templates: time 0.02005/0.6626, allocations: 14.88 MB / 0.6456 GB, free: 0.5195 MB / 478.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRV.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.TwoWayValveTRVCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRVCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValveTRVCalcHelperMain.o] Error 1