Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves") translateModel(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.0007098/0.0007098, allocations: 101.4 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.0007648/0.0007648, allocations: 176.3 kB / 16.58 MB, free: 6.047 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.249/1.249, allocations: 223.3 MB / 240.6 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8731/0.8731, allocations: 135.3 MB / 427 MB, free: 14.12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002945, allocations: 9.219 kB / 0.5076 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1527, allocations: 82.32 MB / 0.588 GB, free: 3.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves): time 0.3364/0.4891, allocations: 104 MB / 0.6896 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.5151, allocations: 19.06 MB / 0.7082 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003606/0.5187, allocations: 94.88 kB / 0.7083 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.002893/0.5216, allocations: 0.8874 MB / 0.7092 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.008561/0.5302, allocations: 2.868 MB / 0.712 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00688/0.5371, allocations: 2.377 MB / 0.7143 GB, free: 1.836 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01078/0.5479, allocations: 8.111 MB / 0.7222 GB, free: 13.71 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002952/0.5508, allocations: 1.817 MB / 0.724 GB, free: 12.6 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00462/0.5555, allocations: 2.236 MB / 0.7262 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003214/0.5587, allocations: 1.917 MB / 0.728 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002667/0.559, allocations: 94.69 kB / 0.7281 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003004/0.562, allocations: 1.144 MB / 0.7292 GB, free: 9.734 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004922/0.5625, allocations: 0.4898 MB / 0.7297 GB, free: 9.379 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0007182/0.5632, allocations: 0.5679 MB / 0.7303 GB, free: 9.055 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/0.5663, allocations: 3.276 MB / 0.7335 GB, free: 6.738 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.5663, allocations: 0 / 0.7335 GB, free: 6.738 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.617e-06/0.5663, allocations: 3.938 kB / 0.7335 GB, free: 6.734 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.316e-05/0.5663, allocations: 3.938 kB / 0.7335 GB, free: 6.73 MB / 0.545 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.003763/0.5701, allocations: 2.711 MB / 0.7361 GB, free: 4.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.5701, allocations: 9.594 kB / 0.7361 GB, free: 4.734 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005637/0.5707, allocations: 325 kB / 0.7365 GB, free: 4.57 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003068/0.5738, allocations: 2.064 MB / 0.7385 GB, free: 2.492 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-05/0.5739, allocations: 131 kB / 0.7386 GB, free: 2.363 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001909/0.5741, allocations: 167.9 kB / 0.7388 GB, free: 2.199 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002664/0.5768, allocations: 1.6 MB / 0.7403 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5768, allocations: 0 / 0.7403 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001258/0.5769, allocations: 67.98 kB / 0.7404 GB, free: 480 kB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.503e-05/0.577, allocations: 39.94 kB / 0.7404 GB, free: 440 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/0.5789, allocations: 1.151 MB / 0.7415 GB, free: 15.27 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.009303/0.5882, allocations: 7.897 MB / 0.7493 GB, free: 6.867 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007338/0.589, allocations: 478 kB / 0.7497 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004804/0.5895, allocations: 334.8 kB / 0.75 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.5901, allocations: 0.7485 MB / 0.7508 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.011e-05/0.5902, allocations: 55.05 kB / 0.7508 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=60): time 2.715e-06/0.5902, allocations: 0 / 0.7508 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of matching and sorting (n=60): time 0.001871/0.5921, allocations: 0.9882 MB / 0.7518 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.935e-05/0.5921, allocations: 63.97 kB / 0.7518 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00273/0.5949, allocations: 2.296 MB / 0.7541 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.595, allocations: 45.7 kB / 0.7541 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009486/0.596, allocations: 1.149 MB / 0.7552 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001911/0.5962, allocations: 216.9 kB / 0.7555 GB, free: 292 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.5962, allocations: 20 kB / 0.7555 GB, free: 272 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5964, allocations: 357.8 kB / 0.7558 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005664/0.5969, allocations: 342.5 kB / 0.7561 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008394/0.5978, allocations: 0.7307 MB / 0.7569 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007096/0.5985, allocations: 470.7 kB / 0.7573 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.5985, allocations: 8 kB / 0.7573 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.00201/0.6005, allocations: 1.264 MB / 0.7585 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002045/0.6008, allocations: 346.8 kB / 0.7589 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.6008, allocations: 8 kB / 0.7589 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.6008, allocations: 16 kB / 0.7589 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/0.6017, allocations: 251.6 kB / 0.7591 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.937e-05/0.6017, allocations: 19.94 kB / 0.7592 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.6033, allocations: 258.1 kB / 0.7594 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.383e-05/0.6034, allocations: 51.94 kB / 0.7595 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.39e-06/0.6034, allocations: 4 kB / 0.7595 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001567/0.605, allocations: 1.023 MB / 0.7605 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.605, allocations: 8 kB / 0.7605 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.605, allocations: 16 kB / 0.7605 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.6058, allocations: 256 kB / 0.7607 GB, free: 10.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.6059, allocations: 20 kB / 0.7607 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001478/0.6073, allocations: 226.5 kB / 0.761 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-05/0.6074, allocations: 47.98 kB / 0.761 GB, free: 10.31 MB / 0.5762 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.0009842/0.6084, allocations: 0.5749 MB / 0.7616 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003313/0.6088, allocations: 241 kB / 0.7618 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.6104, allocations: 0.8965 MB / 0.7627 GB, free: 8.59 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/0.6104, allocations: 8.281 kB / 0.7627 GB, free: 8.582 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.6104, allocations: 7.922 kB / 0.7627 GB, free: 8.574 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009651/0.6114, allocations: 0.6931 MB / 0.7634 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003889/0.6153, allocations: 2.582 MB / 0.7659 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6153, allocations: 7.938 kB / 0.7659 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005004/0.6158, allocations: 127.9 kB / 0.766 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.6158, allocations: 4 kB / 0.766 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.919e-05/0.6159, allocations: 15.98 kB / 0.766 GB, free: 5.039 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/0.6159, allocations: 8.094 kB / 0.766 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6159, allocations: 0 / 0.766 GB, free: 5.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001853/0.6178, allocations: 1.325 MB / 0.7673 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008307/0.6186, allocations: 457.8 kB / 0.7678 GB, free: 3.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.6188, allocations: 12 kB / 0.7678 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/0.6198, allocations: 107.7 kB / 0.7679 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.382e-05/0.6199, allocations: 48.5 kB / 0.7679 GB, free: 3.043 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.033e-05/0.6199, allocations: 35.97 kB / 0.768 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002048/0.622, allocations: 1.523 MB / 0.7695 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.61e-07/0.622, allocations: 0 / 0.7695 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00262/0.6246, allocations: 1.103 MB / 0.7705 GB, free: 384 kB / 0.5762 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.001399/0.626, allocations: 0.7053 MB / 0.7712 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.002322/0.6284, allocations: 1.354 MB / 0.7725 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.6284, allocations: 0 / 0.7725 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/0.6289, allocations: 331.1 kB / 0.7729 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005542/0.6345, allocations: 1.377 MB / 0.7742 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006654/0.6411, allocations: 4.487 MB / 0.7786 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/0.6424, allocations: 1.582 MB / 0.7801 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006155/0.643, allocations: 183.3 kB / 0.7803 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of SimCode: time 1.402e-06/0.643, allocations: 0 / 0.7803 GB, free: 6.457 MB / 0.5919 GB Notification: Performance of Templates: time 0.05592/0.6989, allocations: 39.18 MB / 0.8186 GB, free: 15.54 MB / 0.6387 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValves.makefile make -j1 -f IDEAS_dev_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_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_dev_IDEAS.Fluid.Actuators.Valves.Examples.ThreeWayValvesCalcHelperMain.o] Error 1