Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008411/0.0008411, allocations: 99.03 kB / 16.02 MB, free: 76 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.001042/0.001042, allocations: 181.4 kB / 16.92 MB, free: 6.918 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.325/1.325, allocations: 223.2 MB / 241 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001688/0.001688, allocations: 274.6 kB / 292.3 MB, free: 1.777 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.5 MB / 0.501 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004246/0.0004246, allocations: 15.31 kB / 0.5993 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.159, allocations: 88.54 MB / 0.6858 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01514/0.1742, allocations: 14.95 MB / 0.7004 GB, free: 92 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.006416/0.1806, allocations: 4.292 MB / 0.7046 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005462/0.1812, allocations: 19.88 kB / 0.7046 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009112/0.1821, allocations: 218.9 kB / 0.7048 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001397/0.1835, allocations: 0.5587 MB / 0.7053 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.1853, allocations: 0.6289 MB / 0.706 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001459/0.1868, allocations: 1.31 MB / 0.7072 GB, free: 9.059 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004191/0.1872, allocations: 287.8 kB / 0.7075 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006038/0.1878, allocations: 382.3 kB / 0.7079 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.1882, allocations: 314.5 kB / 0.7082 GB, free: 8.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.136e-05/0.1883, allocations: 12 kB / 0.7082 GB, free: 8.078 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001005/0.1893, allocations: 0.6043 MB / 0.7088 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1894, allocations: 87.59 kB / 0.7089 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002091/0.1896, allocations: 240.4 kB / 0.7091 GB, free: 7.145 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006141/0.1902, allocations: 0.5222 MB / 0.7096 GB, free: 6.621 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1902, allocations: 4 kB / 0.7096 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/0.1903, allocations: 0 / 0.7096 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.932e-06/0.1903, allocations: 0 / 0.7096 GB, free: 6.617 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.00109/0.1914, allocations: 0.7552 MB / 0.7103 GB, free: 5.812 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1914, allocations: 12.03 kB / 0.7103 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.835e-05/0.1915, allocations: 52.28 kB / 0.7104 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.192, allocations: 417.3 kB / 0.7108 GB, free: 5.305 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.515e-05/0.1921, allocations: 24.38 kB / 0.7108 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.1921, allocations: 24 kB / 0.7108 GB, free: 5.258 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004233/0.1926, allocations: 223.2 kB / 0.7111 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.1926, allocations: 0 / 0.7111 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.265e-05/0.1926, allocations: 8 kB / 0.7111 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.1926, allocations: 4 kB / 0.7111 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003798/0.193, allocations: 173.6 kB / 0.7112 GB, free: 4.852 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.00153/0.1945, allocations: 0.9574 MB / 0.7122 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1948, allocations: 134.5 kB / 0.7123 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.195, allocations: 80.81 kB / 0.7124 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002908/0.1953, allocations: 344.5 kB / 0.7127 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1953, allocations: 30.56 kB / 0.7127 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.1954, allocations: 0 / 0.7127 GB, free: 3.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.0006067/0.196, allocations: 257 kB / 0.713 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.196, allocations: 55.34 kB / 0.713 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005041/0.1965, allocations: 470 kB / 0.7135 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.976e-05/0.1966, allocations: 33.7 kB / 0.7135 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.1968, allocations: 228.6 kB / 0.7137 GB, free: 2.09 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.832e-05/0.1968, allocations: 51.2 kB / 0.7138 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.1968, allocations: 29.64 kB / 0.7138 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.197, allocations: 362.7 kB / 0.7141 GB, free: 1.641 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001854/0.1972, allocations: 71.95 kB / 0.7142 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.1975, allocations: 159.5 kB / 0.7144 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.1978, allocations: 168.8 kB / 0.7145 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/0.1978, allocations: 4 kB / 0.7145 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004802/0.1983, allocations: 268.9 kB / 0.7148 GB, free: 0.9414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.1984, allocations: 113.2 kB / 0.7149 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1984, allocations: 0 / 0.7149 GB, free: 0.8203 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1984, allocations: 4 kB / 0.7149 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.1986, allocations: 47.91 kB / 0.7149 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1987, allocations: 3.938 kB / 0.715 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.199, allocations: 51.72 kB / 0.715 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.204e-05/0.199, allocations: 15.98 kB / 0.715 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.322e-06/0.199, allocations: 4 kB / 0.715 GB, free: 0.6953 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004658/0.1995, allocations: 187.8 kB / 0.7152 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-06/0.1995, allocations: 0 / 0.7152 GB, free: 0.5117 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-06/0.1995, allocations: 4 kB / 0.7152 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001897/0.1997, allocations: 51.91 kB / 0.7153 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.224e-06/0.1997, allocations: 0 / 0.7153 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002894/0.2, allocations: 39.81 kB / 0.7153 GB, free: 428 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.538e-05/0.2001, allocations: 19.98 kB / 0.7153 GB, free: 408 kB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (24): * Single equations (assignments): 24 * 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.0001859/0.2003, allocations: 242.2 kB / 0.7155 GB, free: 156 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.985e-05/0.2003, allocations: 43.44 kB / 0.7156 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005538/0.2009, allocations: 263.3 kB / 0.7158 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.2009, allocations: 0 / 0.7158 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2009, allocations: 96 / 0.7158 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.077e-06/0.2009, allocations: 3.938 kB / 0.7158 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009602/0.2019, allocations: 0.7156 MB / 0.7165 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.2019, allocations: 0 / 0.7165 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.202, allocations: 35.91 kB / 0.7166 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.202, allocations: 4 kB / 0.7166 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.2021, allocations: 8 kB / 0.7166 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.2021, allocations: 4.125 kB / 0.7166 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.2021, allocations: 3.938 kB / 0.7166 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.2025, allocations: 356.4 kB / 0.7169 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001399/0.2027, allocations: 148.4 kB / 0.7171 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.644e-05/0.2027, allocations: 4 kB / 0.7171 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000225/0.203, allocations: 27.89 kB / 0.7171 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.203, allocations: 15.92 kB / 0.7171 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.696e-05/0.2031, allocations: 11.98 kB / 0.7171 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003384/0.2034, allocations: 330.9 kB / 0.7174 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2034, allocations: 0 / 0.7174 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006186/0.204, allocations: 195.7 kB / 0.7176 GB, free: 13.9 MB / 0.5137 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001152/0.2052, allocations: 490.5 kB / 0.7181 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006497/0.2059, allocations: 282.2 kB / 0.7184 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2059, allocations: 0 / 0.7184 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001911/0.2061, allocations: 92.14 kB / 0.7185 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/0.2075, allocations: 224.8 kB / 0.7187 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001482/0.209, allocations: 0.8952 MB / 0.7195 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004991/0.2095, allocations: 0.8232 MB / 0.7203 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.2096, allocations: 39.44 kB / 0.7204 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.2096, allocations: 0 / 0.7204 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of Templates: time 0.01106/0.2207, allocations: 7.369 MB / 0.7276 GB, free: 3.848 MB / 0.5137 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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 OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o] Error 1