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.000748/0.0007482, allocations: 96.14 kB / 16.03 MB, free: 68 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.0008379/0.000838, allocations: 180.1 kB / 16.92 MB, free: 6.906 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.2 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7588/0.7588, allocations: 132.3 MB / 424.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003041/0.0003041, allocations: 10.19 kB / 0.5046 GB, free: 3.891 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4691/0.4694, allocations: 81.57 MB / 0.5843 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.1085/0.5779, allocations: 110.1 MB / 0.6918 GB, free: 1.977 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.03062/0.6086, allocations: 20.09 MB / 0.7115 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004179/0.6128, allocations: 95.31 kB / 0.7116 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003468/0.6163, allocations: 1.041 MB / 0.7126 GB, free: 12.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01005/0.6264, allocations: 3.371 MB / 0.7159 GB, free: 9.312 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007569/0.634, allocations: 2.854 MB / 0.7187 GB, free: 6.512 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01226/0.6462, allocations: 9.513 MB / 0.7279 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00444/0.6507, allocations: 2.086 MB / 0.73 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00616/0.6569, allocations: 2.321 MB / 0.7323 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004682/0.6616, allocations: 2.045 MB / 0.7342 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007384/0.6624, allocations: 88 kB / 0.7343 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004522/0.6669, allocations: 1.442 MB / 0.7357 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000676/0.6676, allocations: 0.521 MB / 0.7362 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002262/0.6699, allocations: 1.33 MB / 0.7375 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003905/0.6738, allocations: 3.316 MB / 0.7408 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6738, allocations: 0 / 0.7408 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.843e-06/0.6738, allocations: 0 / 0.7408 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.433e-05/0.6739, allocations: 0 / 0.7408 GB, free: 15.71 MB / 0.5762 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.004598/0.6785, allocations: 2.703 MB / 0.7434 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.6785, allocations: 12.03 kB / 0.7434 GB, free: 12.94 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007784/0.6793, allocations: 320.2 kB / 0.7437 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00372/0.683, allocations: 2.155 MB / 0.7458 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.888e-05/0.6831, allocations: 123 kB / 0.746 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002246/0.6834, allocations: 164 kB / 0.7461 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.6862, allocations: 1.616 MB / 0.7477 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.664e-05/0.6862, allocations: 4 kB / 0.7477 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001277/0.6863, allocations: 67.94 kB / 0.7478 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.736e-05/0.6864, allocations: 47.98 kB / 0.7478 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002059/0.6885, allocations: 1.151 MB / 0.7489 GB, free: 7.16 MB / 0.5762 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.01148/0.7, allocations: 7.924 MB / 0.7567 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008077/0.7008, allocations: 469.9 kB / 0.7571 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005352/0.7014, allocations: 335 kB / 0.7574 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007116/0.7021, allocations: 0.7562 MB / 0.7582 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.7021, allocations: 47.06 kB / 0.7582 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=60): time 2.886e-06/0.7021, allocations: 0 / 0.7582 GB, free: 12.95 MB / 0.5919 GB Notification: Performance of matching and sorting (n=60): time 0.002048/0.7042, allocations: 1.004 MB / 0.7592 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.7043, allocations: 55.97 kB / 0.7593 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003277/0.7075, allocations: 2.316 MB / 0.7615 GB, free: 9.551 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001515/0.7077, allocations: 45.7 kB / 0.7616 GB, free: 9.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001053/0.7088, allocations: 1.153 MB / 0.7627 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.709, allocations: 212.9 kB / 0.7629 GB, free: 8.125 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.7091, allocations: 109.6 kB / 0.763 GB, free: 8.012 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7093, allocations: 353.9 kB / 0.7633 GB, free: 7.66 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.7099, allocations: 354.4 kB / 0.7637 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001076/0.711, allocations: 0.7541 MB / 0.7644 GB, free: 6.398 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/0.7125, allocations: 0.998 MB / 0.7654 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.921e-06/0.7125, allocations: 0 / 0.7654 GB, free: 5.293 MB / 0.5919 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002216/0.7147, allocations: 1.303 MB / 0.7667 GB, free: 3.98 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000224/0.715, allocations: 343.1 kB / 0.767 GB, free: 3.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.715, allocations: 8 kB / 0.767 GB, free: 3.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.579e-05/0.715, allocations: 12 kB / 0.767 GB, free: 3.508 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000931/0.716, allocations: 251.6 kB / 0.7672 GB, free: 3.262 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.143e-05/0.716, allocations: 23.92 kB / 0.7673 GB, free: 3.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.7178, allocations: 250.2 kB / 0.7675 GB, free: 2.992 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.693e-05/0.7179, allocations: 55.97 kB / 0.7676 GB, free: 2.938 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 9.077e-06/0.7179, allocations: 8 kB / 0.7676 GB, free: 2.93 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001664/0.7195, allocations: 1.027 MB / 0.7686 GB, free: 1.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.7196, allocations: 12.16 kB / 0.7686 GB, free: 1.891 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.7196, allocations: 16 kB / 0.7686 GB, free: 1.875 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008231/0.7204, allocations: 251.6 kB / 0.7688 GB, free: 1.629 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.722e-05/0.7204, allocations: 19.92 kB / 0.7689 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.722, allocations: 222.5 kB / 0.7691 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.506e-05/0.722, allocations: 55.98 kB / 0.7691 GB, free: 1.336 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001136/0.7232, allocations: 0.5748 MB / 0.7697 GB, free: 0.75 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.7235, allocations: 237 kB / 0.7699 GB, free: 0.5156 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.7251, allocations: 0.9047 MB / 0.7708 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/0.7252, allocations: 4.281 kB / 0.7708 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7252, allocations: 4 kB / 0.7708 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009998/0.7262, allocations: 0.697 MB / 0.7715 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00389/0.7301, allocations: 2.578 MB / 0.774 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.212e-06/0.7301, allocations: 7.938 kB / 0.774 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004975/0.7306, allocations: 128 kB / 0.7741 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.7306, allocations: 4 kB / 0.7741 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.966e-05/0.7307, allocations: 16 kB / 0.7741 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.925e-06/0.7307, allocations: 7.938 kB / 0.7742 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7307, allocations: 0 / 0.7742 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001871/0.7326, allocations: 1.333 MB / 0.7755 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007327/0.7333, allocations: 453.8 kB / 0.7759 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002163/0.7335, allocations: 20 kB / 0.7759 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.7346, allocations: 114.5 kB / 0.776 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.647e-05/0.7347, allocations: 52.38 kB / 0.7761 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.7348, allocations: 31.98 kB / 0.7761 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002115/0.7369, allocations: 1.546 MB / 0.7776 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.71e-07/0.7369, allocations: 0 / 0.7776 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002515/0.7394, allocations: 1.099 MB / 0.7787 GB, free: 7.367 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001486/0.7409, allocations: 0.7315 MB / 0.7794 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00232/0.7433, allocations: 1.373 MB / 0.7807 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.7433, allocations: 1.5 kB / 0.7807 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.7438, allocations: 335.2 kB / 0.7811 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006453/0.7503, allocations: 1.383 MB / 0.7824 GB, free: 3.75 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006406/0.7567, allocations: 4.669 MB / 0.787 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001226/0.7579, allocations: 1.586 MB / 0.7885 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004899/0.7584, allocations: 179.4 kB / 0.7887 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.7584, allocations: 0 / 0.7887 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of Templates: time 0.3383/1.097, allocations: 39.14 MB / 0.8269 GB, free: 207.8 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++ -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.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