Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|kv.y",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008146/0.0008146, allocations: 102.7 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.0008318/0.0008317, allocations: 177 kB / 16.58 MB, free: 6.863 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.504/1.504, allocations: 223.2 MB / 240.6 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.6/2.6, allocations: 390.5 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003876/0.0003877, allocations: 8 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8495/0.8499, allocations: 142.3 MB / 0.9544 GB, free: 8.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable): time 0.01803/0.8679, allocations: 16 MB / 0.97 GB, free: 11.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008272/0.8763, allocations: 4.604 MB / 0.9745 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008218/0.8771, allocations: 15.09 kB / 0.9745 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009924/0.8781, allocations: 190.2 kB / 0.9747 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001942/0.8801, allocations: 0.5023 MB / 0.9752 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002412/0.8825, allocations: 0.5981 MB / 0.9758 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002029/0.8846, allocations: 1.095 MB / 0.9769 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005084/0.8851, allocations: 259.7 kB / 0.9771 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008458/0.8859, allocations: 357.2 kB / 0.9775 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004945/0.8864, allocations: 288.3 kB / 0.9777 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.016e-05/0.8865, allocations: 19.28 kB / 0.9778 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001492/0.888, allocations: 0.5936 MB / 0.9783 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.8882, allocations: 110.8 kB / 0.9784 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000152/0.8883, allocations: 121.1 kB / 0.9786 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009014/0.8893, allocations: 0.5851 MB / 0.9791 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.8893, allocations: 0.9688 kB / 0.9791 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.973e-06/0.8893, allocations: 0 / 0.9791 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.624e-06/0.8893, allocations: 0 / 0.9791 GB, free: 4.684 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001316/0.8906, allocations: 0.8034 MB / 0.9799 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.8907, allocations: 9.812 kB / 0.9799 GB, free: 3.984 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001807/0.8909, allocations: 60.62 kB / 0.98 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006622/0.8915, allocations: 423.4 kB / 0.9804 GB, free: 3.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.532e-05/0.8916, allocations: 24.3 kB / 0.9804 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.807e-05/0.8916, allocations: 39.64 kB / 0.9804 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006365/0.8923, allocations: 282.9 kB / 0.9807 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.8923, allocations: 3.984 kB / 0.9807 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.373e-05/0.8924, allocations: 10.47 kB / 0.9807 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.8924, allocations: 6.062 kB / 0.9807 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004793/0.8929, allocations: 199.1 kB / 0.9809 GB, free: 3.27 MB / 0.7325 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.002142/0.895, allocations: 1.473 MB / 0.9824 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.8954, allocations: 172.3 kB / 0.9825 GB, free: 1.863 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002067/0.8956, allocations: 96.72 kB / 0.9826 GB, free: 1.812 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.8974, allocations: 1.285 MB / 0.9839 GB, free: 488 kB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.8974, allocations: 35.84 kB / 0.9839 GB, free: 444 kB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.8974, allocations: 0 / 0.9839 GB, free: 444 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007402/0.8982, allocations: 261.7 kB / 0.9842 GB, free: 312 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.164e-05/0.8983, allocations: 52.81 kB / 0.9842 GB, free: 248 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008505/0.8991, allocations: 0.5846 MB / 0.9848 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.8991, allocations: 30.95 kB / 0.9848 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.8994, allocations: 271 kB / 0.9851 GB, free: 15.62 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 4.955e-05/0.8994, allocations: 53.8 kB / 0.9851 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.497e-05/0.8995, allocations: 5.312 kB / 0.9851 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001939/0.8997, allocations: 362.2 kB / 0.9855 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.8999, allocations: 84.06 kB / 0.9855 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003013/0.9002, allocations: 206.9 kB / 0.9857 GB, free: 15 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002269/0.9004, allocations: 103 kB / 0.9858 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.9004, allocations: 0 / 0.9858 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006036/0.901, allocations: 325 kB / 0.9862 GB, free: 14.79 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.9012, allocations: 154.8 kB / 0.9863 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.9012, allocations: 6.609 kB / 0.9863 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.77e-05/0.9012, allocations: 8.328 kB / 0.9863 GB, free: 14.6 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000265/0.9015, allocations: 70.84 kB / 0.9864 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.9015, allocations: 3.938 kB / 0.9864 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.9019, allocations: 48.03 kB / 0.9864 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.9019, allocations: 15.25 kB / 0.9864 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.9019, allocations: 3.844 kB / 0.9865 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005356/0.9025, allocations: 246.3 kB / 0.9867 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.9025, allocations: 2.906 kB / 0.9867 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.605e-06/0.9025, allocations: 8.812 kB / 0.9867 GB, free: 14.44 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002284/0.9027, allocations: 67.7 kB / 0.9868 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.9028, allocations: 11.88 kB / 0.9868 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002804/0.903, allocations: 47.66 kB / 0.9868 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.573e-05/0.9031, allocations: 12 kB / 0.9868 GB, free: 14.32 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (33): * Single equations (assignments): 33 * 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.0002597/0.9033, allocations: 261 kB / 0.9871 GB, free: 14.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.768e-05/0.9034, allocations: 51.39 kB / 0.9871 GB, free: 14 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005634/0.904, allocations: 261.7 kB / 0.9874 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.904, allocations: 4 kB / 0.9874 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.904, allocations: 0 / 0.9874 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/0.904, allocations: 3.953 kB / 0.9874 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.9051, allocations: 0.7539 MB / 0.9881 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.9052, allocations: 0 / 0.9881 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001281/0.9053, allocations: 35.97 kB / 0.9882 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.339e-06/0.9053, allocations: 3.953 kB / 0.9882 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.9053, allocations: 8 kB / 0.9882 GB, free: 12.87 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.9053, allocations: 4.219 kB / 0.9882 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.9053, allocations: 7.938 kB / 0.9882 GB, free: 12.86 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004577/0.9058, allocations: 358.1 kB / 0.9885 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001503/0.906, allocations: 152.4 kB / 0.9887 GB, free: 12.31 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.704e-05/0.9061, allocations: 8 kB / 0.9887 GB, free: 12.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002018/0.9063, allocations: 15.98 kB / 0.9887 GB, free: 12.29 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.756e-05/0.9063, allocations: 19.94 kB / 0.9887 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.668e-05/0.9064, allocations: 12.17 kB / 0.9887 GB, free: 12.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004655/0.9068, allocations: 418.8 kB / 0.9891 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9068, allocations: 0 / 0.9891 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008704/0.9077, allocations: 231.6 kB / 0.9893 GB, free: 11.62 MB / 0.7481 GB 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001191/0.9089, allocations: 496.6 kB / 0.9898 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007075/0.9096, allocations: 334 kB / 0.9901 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.9096, allocations: 192 / 0.9901 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001859/0.9098, allocations: 91.89 kB / 0.9902 GB, free: 10.85 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001277/0.9111, allocations: 257.9 kB / 0.9905 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.9126, allocations: 0.9971 MB / 0.9914 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004615/0.9131, allocations: 0.8468 MB / 0.9923 GB, free: 8.688 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.882e-05/0.9132, allocations: 47.38 kB / 0.9923 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/0.9132, allocations: 0 / 0.9923 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of Templates: time 0.01348/0.9267, allocations: 8.508 MB / 1.001 GB, free: 216 kB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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 OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTableCalcHelperMain.o] Error 1