Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/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.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valTab.m_flow|valLin.m_flow",fileNamePrefix="Buildings_9_Buildings.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.001024/0.001024, allocations: 100.5 kB / 15.71 MB, free: 452 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.001511/0.001512, allocations: 175.2 kB / 16.58 MB, free: 6.879 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.499/1.499, allocations: 223.3 MB / 240.6 MB, free: 5.418 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.578/2.578, allocations: 390.4 MB / 0.6662 GB, free: 2.875 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 8.219 kB / 0.8154 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8602/0.8606, allocations: 142.3 MB / 0.9544 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable): time 0.01472/0.8754, allocations: 14.21 MB / 0.9683 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007237/0.8827, allocations: 4.055 MB / 0.9723 GB, free: 9.539 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006721/0.8834, allocations: 15.03 kB / 0.9723 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0009844/0.8844, allocations: 204.6 kB / 0.9725 GB, free: 9.375 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001431/0.8858, allocations: 496.7 kB / 0.9729 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001991/0.8878, allocations: 0.6003 MB / 0.9735 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001669/0.8895, allocations: 1.127 MB / 0.9746 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004863/0.89, allocations: 273.7 kB / 0.9749 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000736/0.8907, allocations: 362.3 kB / 0.9752 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004596/0.8912, allocations: 297 kB / 0.9755 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.8913, allocations: 14.47 kB / 0.9755 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001239/0.8925, allocations: 0.5358 MB / 0.976 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001161/0.8926, allocations: 83.16 kB / 0.9761 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.8928, allocations: 113.6 kB / 0.9762 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0007884/0.8936, allocations: 0.5162 MB / 0.9767 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8936, allocations: 1.344 kB / 0.9767 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.425e-06/0.8936, allocations: 0 / 0.9767 GB, free: 6.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.003e-06/0.8936, allocations: 0 / 0.9767 GB, free: 6.633 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001283/0.8949, allocations: 0.7614 MB / 0.9775 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.895, allocations: 9 kB / 0.9775 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.8951, allocations: 58.05 kB / 0.9775 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006209/0.8957, allocations: 398.7 kB / 0.9779 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.163e-05/0.8957, allocations: 20.53 kB / 0.9779 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.756e-05/0.8958, allocations: 26.66 kB / 0.978 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004793/0.8963, allocations: 220.5 kB / 0.9782 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.8963, allocations: 0 / 0.9782 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.8963, allocations: 10 kB / 0.9782 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/0.8964, allocations: 9.328 kB / 0.9782 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.8968, allocations: 174 kB / 0.9784 GB, free: 5.352 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.001695/0.8985, allocations: 0.9444 MB / 0.9793 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/0.8988, allocations: 139.2 kB / 0.9794 GB, free: 4.484 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.899, allocations: 73.38 kB / 0.9795 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/0.8993, allocations: 337 kB / 0.9798 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.8994, allocations: 43.2 kB / 0.9799 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=14): time 1.774e-06/0.8994, allocations: 0 / 0.9799 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14): time 0.0006961/0.9001, allocations: 255.6 kB / 0.9801 GB, free: 3.879 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.9001, allocations: 53.41 kB / 0.9802 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006377/0.9008, allocations: 469.6 kB / 0.9806 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.156e-05/0.9008, allocations: 32.3 kB / 0.9806 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.901, allocations: 232.8 kB / 0.9809 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.844e-05/0.9011, allocations: 41.14 kB / 0.9809 GB, free: 3.254 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.159e-05/0.9011, allocations: 5.094 kB / 0.9809 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002318/0.9013, allocations: 356.7 kB / 0.9812 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.9015, allocations: 72.23 kB / 0.9813 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/0.9018, allocations: 156.4 kB / 0.9815 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.9021, allocations: 91.34 kB / 0.9815 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.9021, allocations: 0 / 0.9815 GB, free: 2.707 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006344/0.9027, allocations: 259.1 kB / 0.9818 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.9029, allocations: 108.8 kB / 0.9819 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.497e-06/0.9029, allocations: 1.062 kB / 0.9819 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.998e-05/0.9029, allocations: 2.156 kB / 0.9819 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.9032, allocations: 53.34 kB / 0.9819 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.232e-05/0.9032, allocations: 5.109 kB / 0.9819 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.9036, allocations: 47.69 kB / 0.982 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.9036, allocations: 11.84 kB / 0.982 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.238e-06/0.9037, allocations: 8.562 kB / 0.982 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004915/0.9042, allocations: 195.4 kB / 0.9822 GB, free: 2.316 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.9042, allocations: 5.094 kB / 0.9822 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.379e-06/0.9042, allocations: 1.219 kB / 0.9822 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.9044, allocations: 49.34 kB / 0.9823 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.677e-06/0.9044, allocations: 5.344 kB / 0.9823 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/0.9047, allocations: 39.81 kB / 0.9823 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.9047, allocations: 10.78 kB / 0.9823 GB, free: 2.273 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003127/0.9051, allocations: 237.2 kB / 0.9825 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.9052, allocations: 55 kB / 0.9826 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006677/0.9059, allocations: 253.1 kB / 0.9828 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.066e-05/0.9059, allocations: 6.375 kB / 0.9828 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.9059, allocations: 0 / 0.9828 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.9059, allocations: 5.703 kB / 0.9828 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001258/0.9072, allocations: 0.7126 MB / 0.9835 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.9072, allocations: 1.156 kB / 0.9835 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.9073, allocations: 33.33 kB / 0.9836 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.9073, allocations: 1.375 kB / 0.9836 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.9074, allocations: 3 kB / 0.9836 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/0.9074, allocations: 2.75 kB / 0.9836 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/0.9074, allocations: 5.328 kB / 0.9836 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005277/0.9079, allocations: 364.2 kB / 0.9839 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.9081, allocations: 146.2 kB / 0.9841 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.9082, allocations: 2.375 kB / 0.9841 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002198/0.9084, allocations: 25.06 kB / 0.9841 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.9085, allocations: 18.27 kB / 0.9841 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.9085, allocations: 9.875 kB / 0.9841 GB, free: 0.8203 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004128/0.9089, allocations: 332.4 kB / 0.9844 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9089, allocations: 1.625 kB / 0.9844 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007734/0.9097, allocations: 200.2 kB / 0.9846 GB, free: 0.5742 MB / 0.7325 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 (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.001223/0.9109, allocations: 475.9 kB / 0.9851 GB, free: 324 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006422/0.9116, allocations: 275.9 kB / 0.9853 GB, free: 48 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.9116, allocations: 3.938 kB / 0.9853 GB, free: 44 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.9118, allocations: 99.81 kB / 0.9854 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.913, allocations: 220.2 kB / 0.9857 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.9144, allocations: 0.8697 MB / 0.9865 GB, free: 14.82 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004601/0.9149, allocations: 0.8233 MB / 0.9873 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-05/0.915, allocations: 39.42 kB / 0.9873 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.915, allocations: 0 / 0.9873 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of Templates: time 0.01228/0.9273, allocations: 7.387 MB / 0.9946 GB, free: 6.613 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.TwoWayValvesTableCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTableCalcHelperMain.o] Error 1