Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 102.2 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.001257/0.001257, allocations: 172 kB / 16.58 MB, free: 6.402 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.47/1.47, allocations: 223.3 MB / 240.6 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7613/0.7613, allocations: 132.3 MB / 424 MB, free: 2.078 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003673/0.0003673, allocations: 12 kB / 0.504 GB, free: 4.289 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4392, allocations: 81.57 MB / 0.5837 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.0995/0.5388, allocations: 104.1 MB / 0.6853 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02764/0.5665, allocations: 19.05 MB / 0.7039 GB, free: 5.246 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004122/0.5707, allocations: 95.31 kB / 0.704 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.003695/0.5744, allocations: 0.8928 MB / 0.7049 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.009863/0.5843, allocations: 2.86 MB / 0.7077 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.006902/0.5912, allocations: 2.379 MB / 0.71 GB, free: 15.05 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.6019, allocations: 8.114 MB / 0.7179 GB, free: 6.914 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003475/0.6054, allocations: 1.816 MB / 0.7197 GB, free: 5.059 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005421/0.6109, allocations: 2.232 MB / 0.7219 GB, free: 2.816 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.6146, allocations: 1.925 MB / 0.7237 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004316/0.6151, allocations: 88 kB / 0.7238 GB, free: 0.7969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003325/0.6184, allocations: 1.154 MB / 0.725 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000576/0.619, allocations: 497.7 kB / 0.7254 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009788/0.62, allocations: 0.5666 MB / 0.726 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00389/0.6239, allocations: 3.269 MB / 0.7292 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.6239, allocations: 3.984 kB / 0.7292 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6239, allocations: 0 / 0.7292 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.252e-05/0.624, allocations: 0 / 0.7292 GB, free: 11.3 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.004302/0.6283, allocations: 2.72 MB / 0.7318 GB, free: 8.508 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.6283, allocations: 8.031 kB / 0.7318 GB, free: 8.5 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006401/0.629, allocations: 324.2 kB / 0.7322 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.6323, allocations: 2.059 MB / 0.7342 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.101e-05/0.6325, allocations: 127 kB / 0.7343 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/0.6327, allocations: 171.8 kB / 0.7344 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.6354, allocations: 1.604 MB / 0.736 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.467e-05/0.6355, allocations: 4 kB / 0.736 GB, free: 4.086 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001292/0.6356, allocations: 60 kB / 0.7361 GB, free: 4.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-05/0.6357, allocations: 40 kB / 0.7361 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002008/0.6377, allocations: 1.151 MB / 0.7372 GB, free: 2.832 MB / 0.5606 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.0115/0.6492, allocations: 7.912 MB / 0.745 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007736/0.65, allocations: 481.9 kB / 0.7454 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004858/0.6505, allocations: 319 kB / 0.7457 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007042/0.6512, allocations: 0.7602 MB / 0.7465 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.6513, allocations: 43.06 kB / 0.7465 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=60): time 3.106e-06/0.6513, allocations: 0 / 0.7465 GB, free: 8.645 MB / 0.5762 GB Notification: Performance of matching and sorting (n=60): time 0.002022/0.6533, allocations: 0.9998 MB / 0.7475 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6534, allocations: 59.97 kB / 0.7475 GB, free: 7.566 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002966/0.6563, allocations: 2.289 MB / 0.7498 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001492/0.6565, allocations: 49.7 kB / 0.7498 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001017/0.6575, allocations: 1.146 MB / 0.7509 GB, free: 4.055 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000252/0.6578, allocations: 220.9 kB / 0.7512 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.086e-05/0.6578, allocations: 23.94 kB / 0.7512 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.658, allocations: 349.9 kB / 0.7515 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00064/0.6587, allocations: 342.5 kB / 0.7518 GB, free: 3.133 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009545/0.6596, allocations: 0.7423 MB / 0.7526 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007839/0.6604, allocations: 462.8 kB / 0.753 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.6604, allocations: 0 / 0.753 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002283/0.6627, allocations: 1.279 MB / 0.7543 GB, free: 0.4922 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003236/0.6631, allocations: 335.1 kB / 0.7546 GB, free: 48 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.805e-05/0.6631, allocations: 11.94 kB / 0.7546 GB, free: 36 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.133e-05/0.6631, allocations: 16 kB / 0.7546 GB, free: 20 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.6642, allocations: 259.6 kB / 0.7549 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.989e-05/0.6642, allocations: 23.92 kB / 0.7549 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/0.6661, allocations: 246.2 kB / 0.7551 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/0.6662, allocations: 51.98 kB / 0.7552 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.6662, allocations: 10.03 kB / 0.7552 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00175/0.668, allocations: 1.023 MB / 0.7562 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.668, allocations: 8.125 kB / 0.7562 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.6681, allocations: 16 kB / 0.7562 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000841/0.6689, allocations: 251.6 kB / 0.7564 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.669, allocations: 19.92 kB / 0.7564 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/0.6704, allocations: 226.5 kB / 0.7567 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.873e-05/0.6705, allocations: 51.98 kB / 0.7567 GB, free: 13.86 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (141): * Single equations (assignments): 141 * 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.001262/0.6718, allocations: 0.5787 MB / 0.7573 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000337/0.6721, allocations: 233.1 kB / 0.7575 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/0.6738, allocations: 0.9008 MB / 0.7584 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/0.6738, allocations: 4 kB / 0.7584 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.6738, allocations: 0 / 0.7584 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009882/0.6748, allocations: 0.6931 MB / 0.7591 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004024/0.6789, allocations: 2.574 MB / 0.7616 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.6789, allocations: 0 / 0.7616 GB, free: 8.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005245/0.6794, allocations: 131.9 kB / 0.7617 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.284e-05/0.6794, allocations: 7.984 kB / 0.7617 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/0.6795, allocations: 20.28 kB / 0.7617 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.903e-06/0.6795, allocations: 4 kB / 0.7617 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.6795, allocations: 0 / 0.7617 GB, free: 8.594 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.6816, allocations: 1.329 MB / 0.763 GB, free: 7.234 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009687/0.6826, allocations: 457.8 kB / 0.7635 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002175/0.6829, allocations: 16 kB / 0.7635 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.6839, allocations: 119.6 kB / 0.7636 GB, free: 6.633 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/0.684, allocations: 44.5 kB / 0.7636 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/0.6841, allocations: 31.98 kB / 0.7637 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002333/0.6864, allocations: 1.53 MB / 0.7652 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6864, allocations: 0 / 0.7652 GB, free: 5.023 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.003243/0.6897, allocations: 1.103 MB / 0.7662 GB, free: 3.918 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (valLin.vol.dynBal.U,valEquPerLin.vol.dynBal.U,valTab.vol.dynBal.U) * 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 (64): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.001928/0.6916, allocations: 0.708 MB / 0.7669 GB, free: 3.379 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002835/0.6945, allocations: 1.35 MB / 0.7683 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.6945, allocations: 0 / 0.7683 GB, free: 2.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005689/0.6951, allocations: 327 kB / 0.7686 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005863/0.7009, allocations: 1.386 MB / 0.7699 GB, free: 368 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006246/0.7072, allocations: 4.48 MB / 0.7743 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001147/0.7084, allocations: 1.582 MB / 0.7758 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/0.7089, allocations: 187.4 kB / 0.776 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of SimCode: time 1.002e-06/0.7089, allocations: 0 / 0.776 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of Templates: time 0.06019/0.7691, allocations: 39.17 MB / 0.8143 GB, free: 3.211 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.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.ThreeWayValvesCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1