Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008383/0.0008383, allocations: 92.16 kB / 16.02 MB, free: 80 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.001121/0.001121, allocations: 183.6 kB / 16.92 MB, free: 6.922 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.317/1.317, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7138/0.7138, allocations: 132.3 MB / 424.4 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8 kB / 0.5046 GB, free: 3.93 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4573/0.4576, allocations: 81.58 MB / 0.5843 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.03241/0.4901, allocations: 28.94 MB / 0.6126 GB, free: 14.64 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01248/0.5026, allocations: 8.117 MB / 0.6205 GB, free: 8.062 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/0.5044, allocations: 32.47 kB / 0.6205 GB, free: 8.043 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001206/0.5056, allocations: 342.4 kB / 0.6208 GB, free: 7.762 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004039/0.5097, allocations: 1.236 MB / 0.622 GB, free: 6.781 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002912/0.5126, allocations: 1.031 MB / 0.6231 GB, free: 6.055 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005942/0.5185, allocations: 4.203 MB / 0.6272 GB, free: 3.805 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.521, allocations: 1.159 MB / 0.6283 GB, free: 3.062 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003913/0.5249, allocations: 1.496 MB / 0.6297 GB, free: 1.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/0.5281, allocations: 1.601 MB / 0.6313 GB, free: 220 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003588/0.5285, allocations: 68 kB / 0.6314 GB, free: 152 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.5309, allocations: 0.9319 MB / 0.6323 GB, free: 15.21 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003998/0.5313, allocations: 346.6 kB / 0.6326 GB, free: 14.88 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009581/0.5323, allocations: 0.7015 MB / 0.6333 GB, free: 14.16 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.5342, allocations: 1.547 MB / 0.6348 GB, free: 12.61 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.5342, allocations: 4 kB / 0.6348 GB, free: 12.61 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.5342, allocations: 0 / 0.6348 GB, free: 12.61 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.5342, allocations: 0 / 0.6348 GB, free: 12.61 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.0025/0.5367, allocations: 1.338 MB / 0.6361 GB, free: 11.22 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.509e-05/0.5368, allocations: 8.031 kB / 0.6361 GB, free: 11.21 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.5371, allocations: 154.8 kB / 0.6363 GB, free: 11.06 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001492/0.5386, allocations: 0.8871 MB / 0.6371 GB, free: 10.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.742e-05/0.5387, allocations: 81.31 kB / 0.6372 GB, free: 10.04 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002104/0.5389, allocations: 116 kB / 0.6373 GB, free: 9.926 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.54, allocations: 0.6434 MB / 0.638 GB, free: 9.254 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.54, allocations: 3.938 kB / 0.638 GB, free: 9.25 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.54, allocations: 28 kB / 0.638 GB, free: 9.223 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.5401, allocations: 15.94 kB / 0.638 GB, free: 9.207 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008813/0.5409, allocations: 472.9 kB / 0.6385 GB, free: 8.742 MB / 478.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.004243/0.5452, allocations: 2.887 MB / 0.6413 GB, free: 5.699 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.5458, allocations: 319.2 kB / 0.6416 GB, free: 5.379 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002873/0.5461, allocations: 157.3 kB / 0.6417 GB, free: 5.223 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002996/0.5464, allocations: 344.7 kB / 0.6421 GB, free: 4.812 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.95e-05/0.5464, allocations: 42.83 kB / 0.6421 GB, free: 4.762 MB / 478.1 MB Notification: Performance of pre-optimization done (n=33): time 1.733e-06/0.5464, allocations: 0 / 0.6421 GB, free: 4.762 MB / 478.1 MB Notification: Performance of matching and sorting (n=33): time 0.001222/0.5477, allocations: 0.5458 MB / 0.6426 GB, free: 4.211 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.5477, allocations: 59.41 kB / 0.6427 GB, free: 4.141 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001001/0.5487, allocations: 0.9075 MB / 0.6436 GB, free: 3.215 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.5489, allocations: 53.7 kB / 0.6436 GB, free: 3.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005223/0.5494, allocations: 0.5303 MB / 0.6441 GB, free: 2.617 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.552e-05/0.5495, allocations: 114.4 kB / 0.6443 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-05/0.5496, allocations: 61.62 kB / 0.6443 GB, free: 2.438 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.5497, allocations: 333.9 kB / 0.6446 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003956/0.5501, allocations: 197.1 kB / 0.6448 GB, free: 1.914 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/0.5514, allocations: 1.151 MB / 0.6459 GB, free: 412 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008192/0.5522, allocations: 479.4 kB / 0.6464 GB, free: 15.91 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.5522, allocations: 0 / 0.6464 GB, free: 15.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001296/0.5535, allocations: 0.6658 MB / 0.6471 GB, free: 15.24 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/0.5537, allocations: 144.2 kB / 0.6472 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.5537, allocations: 4 kB / 0.6472 GB, free: 15.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/0.5537, allocations: 7.938 kB / 0.6472 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/0.5551, allocations: 243.7 kB / 0.6474 GB, free: 14.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/0.5569, allocations: 2.961 MB / 0.6503 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003132/0.5601, allocations: 0.7457 MB / 0.6511 GB, free: 10.99 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.824e-05/0.5602, allocations: 27.98 kB / 0.6511 GB, free: 10.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.5602, allocations: 4 kB / 0.6511 GB, free: 10.96 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000926/0.5611, allocations: 0.5011 MB / 0.6516 GB, free: 10.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.5611, allocations: 4 kB / 0.6516 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.504e-06/0.5611, allocations: 4 kB / 0.6516 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006116/0.5618, allocations: 159.8 kB / 0.6517 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.518e-05/0.5618, allocations: 12 kB / 0.6517 GB, free: 10.28 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002972/0.5648, allocations: 0.7419 MB / 0.6525 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.5648, allocations: 20 kB / 0.6525 GB, free: 9.52 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005016/0.5653, allocations: 333.8 kB / 0.6528 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001294/0.5655, allocations: 94.78 kB / 0.6529 GB, free: 9.09 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.5665, allocations: 0.5321 MB / 0.6534 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.04e-05/0.5665, allocations: 4.188 kB / 0.6534 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5665, allocations: 0 / 0.6534 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.5665, allocations: 3.984 kB / 0.6534 GB, free: 8.543 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/0.5684, allocations: 1.26 MB / 0.6547 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5685, allocations: 0 / 0.6547 GB, free: 7.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004842/0.569, allocations: 120 kB / 0.6548 GB, free: 7.098 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.569, allocations: 4 kB / 0.6548 GB, free: 7.094 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.36e-05/0.569, allocations: 8 kB / 0.6548 GB, free: 7.086 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001426/0.5704, allocations: 2.95 MB / 0.6577 GB, free: 4.02 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.5705, allocations: 15.97 kB / 0.6577 GB, free: 4.004 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008265/0.5713, allocations: 0.5822 MB / 0.6582 GB, free: 3.395 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002803/0.5716, allocations: 219.7 kB / 0.6585 GB, free: 3.16 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.961e-05/0.5717, allocations: 8 kB / 0.6585 GB, free: 3.152 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000507/0.5722, allocations: 67.78 kB / 0.6585 GB, free: 3.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.508e-05/0.5723, allocations: 27.89 kB / 0.6586 GB, free: 3.059 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.787e-05/0.5723, allocations: 23.94 kB / 0.6586 GB, free: 3.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0007335/0.573, allocations: 0.6084 MB / 0.6592 GB, free: 2.418 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.5731, allocations: 0 / 0.6592 GB, free: 2.418 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001423/0.5745, allocations: 0.5384 MB / 0.6597 GB, free: 1.879 MB / 494.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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 5 systems {1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006642/0.5752, allocations: 331.2 kB / 0.66 GB, free: 1.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.002385/0.5776, allocations: 0.8629 MB / 0.6609 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5776, allocations: 0 / 0.6609 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.5781, allocations: 232.4 kB / 0.6611 GB, free: 480 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002565/0.5807, allocations: 484.8 kB / 0.6615 GB, free: 0 / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002625/0.5833, allocations: 1.92 MB / 0.6634 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000594/0.584, allocations: 1.025 MB / 0.6644 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.5842, allocations: 83.41 kB / 0.6645 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of SimCode: time 7.82e-07/0.5842, allocations: 0 / 0.6645 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.04148/0.6257, allocations: 36.24 MB / 0.6999 GB, free: 8.91 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValvesCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1