Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.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.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") translateModel(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008408/0.0008407, 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.0008968/0.000897, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.315/1.315, allocations: 223.3 MB / 241 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7242/0.7242, allocations: 132.3 MB / 424.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003555, allocations: 8 kB / 0.5046 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4874/0.4878, allocations: 81.57 MB / 0.5843 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve): time 0.04739/0.5352, allocations: 46.86 MB / 0.6301 GB, free: 264 kB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02055/0.5558, allocations: 13.29 MB / 0.643 GB, free: 4.074 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003021/0.5589, allocations: 59.62 kB / 0.6431 GB, free: 4.016 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002816/0.5617, allocations: 0.7812 MB / 0.6438 GB, free: 3.23 MB / 478.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/Fluid/Actuators/Valves/Simplified/Thermostatic3WayValve.mo:34:3-38:63:writable] Warning: Conditional component ‘vol‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.006307/0.568, allocations: 1.931 MB / 0.6457 GB, free: 1.293 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004711/0.5728, allocations: 1.653 MB / 0.6473 GB, free: 15.66 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.007604/0.5804, allocations: 5.506 MB / 0.6527 GB, free: 10.14 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002569/0.583, allocations: 1.21 MB / 0.6539 GB, free: 8.895 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003341/0.5863, allocations: 1.35 MB / 0.6552 GB, free: 7.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002137/0.5885, allocations: 1.151 MB / 0.6564 GB, free: 6.383 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003996/0.5889, allocations: 56 kB / 0.6564 GB, free: 6.328 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003352/0.5923, allocations: 1.369 MB / 0.6577 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000637/0.5929, allocations: 358.5 kB / 0.6581 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.5944, allocations: 0.7594 MB / 0.6588 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003405/0.5978, allocations: 2.19 MB / 0.661 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5979, allocations: 0 / 0.661 GB, free: 1.641 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5979, allocations: 0 / 0.661 GB, free: 1.641 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.181e-05/0.598, allocations: 0 / 0.661 GB, free: 1.641 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.003884/0.6018, allocations: 1.724 MB / 0.6626 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6019, allocations: 12.03 kB / 0.6627 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009861/0.6118, allocations: 1.626 MB / 0.6642 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/0.615, allocations: 1.416 MB / 0.6656 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004162/0.6154, allocations: 141.9 kB / 0.6658 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003672/0.6158, allocations: 96 kB / 0.6659 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005918/0.6217, allocations: 1.737 MB / 0.6676 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.968e-05/0.6218, allocations: 0 / 0.6676 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001284/0.6219, allocations: 40 kB / 0.6676 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.074e-05/0.6219, allocations: 20 kB / 0.6676 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008584/0.6305, allocations: 2.064 MB / 0.6696 GB, free: 8.621 MB / 0.4981 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.01674/0.6473, allocations: 6.67 MB / 0.6761 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007703/0.655, allocations: 1.669 MB / 0.6778 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003743/0.6588, allocations: 0.8373 MB / 0.6786 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005885/0.6647, allocations: 3.944 MB / 0.6824 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.495e-05/0.6648, allocations: 38.56 kB / 0.6825 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005408/0.6654, allocations: 63.19 kB / 0.6825 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 4.519e-06/0.6654, allocations: 0 / 0.6825 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.01137/0.6767, allocations: 2.381 MB / 0.6849 GB, free: 8.125 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.067e-05/0.6768, allocations: 59.34 kB / 0.6849 GB, free: 8.055 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002529/0.6794, allocations: 1.309 MB / 0.6862 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/0.6795, allocations: 37.7 kB / 0.6862 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006466/0.6802, allocations: 0.691 MB / 0.6869 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.6804, allocations: 153.8 kB / 0.6871 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.6806, allocations: 73.67 kB / 0.6871 GB, free: 5.762 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.6807, allocations: 334 kB / 0.6874 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00402/0.6847, allocations: 0.8566 MB / 0.6883 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004316/0.6891, allocations: 1.22 MB / 0.6895 GB, free: 3.195 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007498/0.6966, allocations: 1.89 MB / 0.6913 GB, free: 1.148 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-05/0.6966, allocations: 4 kB / 0.6913 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of matching and sorting (n=103) (initialization): time 0.008783/0.7054, allocations: 2.114 MB / 0.6934 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.7058, allocations: 421.7 kB / 0.6938 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.49e-05/0.7059, allocations: 12 kB / 0.6938 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.312e-05/0.7059, allocations: 16 kB / 0.6938 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/0.7082, allocations: 455.3 kB / 0.6942 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.135e-05/0.7083, allocations: 23.92 kB / 0.6943 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002831/0.7111, allocations: 372 kB / 0.6946 GB, free: 13.6 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.7113, allocations: 51.97 kB / 0.6947 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.09e-05/0.7113, allocations: 4 kB / 0.6947 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008348/0.7197, allocations: 1.97 MB / 0.6966 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.274e-05/0.7197, allocations: 12 kB / 0.6966 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.7197, allocations: 16.31 kB / 0.6966 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002286/0.722, allocations: 459.4 kB / 0.6971 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.401e-05/0.7221, allocations: 23.92 kB / 0.6971 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002729/0.7248, allocations: 340.1 kB / 0.6974 GB, free: 10.74 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.725, allocations: 55.92 kB / 0.6975 GB, free: 10.68 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (102): * Single equations (assignments): 101 * Array equations: 1 * 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.0009921/0.726, allocations: 424.8 kB / 0.6979 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004472/0.7264, allocations: 142.2 kB / 0.698 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008772/0.7352, allocations: 2.059 MB / 0.7 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-05/0.7353, allocations: 7.984 kB / 0.7 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.889e-06/0.7353, allocations: 0 / 0.7 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007541/0.7428, allocations: 1.814 MB / 0.7018 GB, free: 6.199 MB / 0.5294 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 postOpt removeSimpleEquations (simulation): time 0.011/0.7539, allocations: 3.301 MB / 0.705 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.7539, allocations: 4 kB / 0.705 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00206/0.756, allocations: 343.7 kB / 0.7054 GB, free: 2.461 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.756, allocations: 7.984 kB / 0.7054 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.623e-05/0.7561, allocations: 19.98 kB / 0.7054 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.7561, allocations: 0 / 0.7054 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-06/0.7561, allocations: 4 kB / 0.7054 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01181/0.7679, allocations: 2.843 MB / 0.7082 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007778/0.7687, allocations: 335.1 kB / 0.7085 GB, free: 15.2 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.769, allocations: 8 kB / 0.7085 GB, free: 15.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002292/0.7713, allocations: 303.7 kB / 0.7088 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.7715, allocations: 44.31 kB / 0.7088 GB, free: 14.85 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.505e-05/0.7716, allocations: 27.97 kB / 0.7088 GB, free: 14.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001657/0.7732, allocations: 0.8996 MB / 0.7097 GB, free: 13.93 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.71e-07/0.7732, allocations: 0 / 0.7097 GB, free: 13.93 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00264/0.7759, allocations: 0.7604 MB / 0.7105 GB, free: 13.16 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (thermostatic3WayValve.vol.dynBal.U,thermostatic3WayValve.k_state,T_out.T) * 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 (56): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.001327/0.7772, allocations: 0.523 MB / 0.711 GB, free: 12.66 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.01257/0.7898, allocations: 2.89 MB / 0.7138 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7898, allocations: 0 / 0.7138 GB, free: 9.773 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.004023/0.7939, allocations: 0.8817 MB / 0.7147 GB, free: 8.891 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003864/0.7977, allocations: 0.6716 MB / 0.7153 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00799/0.8057, allocations: 3.477 MB / 0.7187 GB, free: 4.707 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009722/0.8067, allocations: 1.218 MB / 0.7199 GB, free: 3.461 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000568/0.8073, allocations: 147.3 kB / 0.72 GB, free: 3.316 MB / 0.545 GB Notification: Performance of SimCode: time 7.21e-07/0.8073, allocations: 0 / 0.72 GB, free: 3.316 MB / 0.545 GB Notification: Performance of Templates: time 0.05153/0.8589, allocations: 27.45 MB / 0.7468 GB, free: 8.141 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.makefile make -j1 -f IDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValve.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.Simplified.Examples.Thermostatic3WayValveCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.Actuators.Valves.Simplified.Examples.Thermostatic3WayValveCalcHelperMain.o] Error 1