Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valInd.m_flow|valIndDpFix.m_flow|valIndFromMflow.m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007853/0.0007851, allocations: 100.1 kB / 15.71 MB, free: 448 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.001018/0.001018, allocations: 172.9 kB / 16.59 MB, free: 6.422 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.447/1.447, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.832/2.832, allocations: 436.7 MB / 0.7113 GB, free: 7.824 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00052/0.0005202, allocations: 8 kB / 0.8717 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.8012, allocations: 153.7 MB / 1.022 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent): time 0.01828/0.8195, allocations: 17.8 MB / 1.039 GB, free: 15.27 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.007968/0.8275, allocations: 4.844 MB / 1.044 GB, free: 10.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009187/0.8285, allocations: 15.88 kB / 1.044 GB, free: 10.39 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007413/0.8292, allocations: 190.7 kB / 1.044 GB, free: 10.2 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001845/0.8311, allocations: 0.6137 MB / 1.045 GB, free: 9.586 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001967/0.8331, allocations: 0.7374 MB / 1.045 GB, free: 8.855 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002143/0.8352, allocations: 1.685 MB / 1.047 GB, free: 7.164 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006071/0.8358, allocations: 407.2 kB / 1.047 GB, free: 6.754 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009126/0.8368, allocations: 0.5406 MB / 1.048 GB, free: 6.211 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006283/0.8374, allocations: 0.494 MB / 1.048 GB, free: 5.715 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.543e-05/0.8375, allocations: 28 kB / 1.048 GB, free: 5.688 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/0.8388, allocations: 0.5964 MB / 1.049 GB, free: 5.09 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.8389, allocations: 127.4 kB / 1.049 GB, free: 4.965 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001635/0.8391, allocations: 157.3 kB / 1.049 GB, free: 4.805 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0008447/0.8399, allocations: 0.7384 MB / 1.05 GB, free: 4.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.8399, allocations: 4 kB / 1.05 GB, free: 4.062 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.114e-06/0.84, allocations: 0 / 1.05 GB, free: 4.062 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.59e-05/0.84, allocations: 0 / 1.05 GB, free: 4.062 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001656/0.8416, allocations: 1.004 MB / 1.051 GB, free: 3.008 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.8417, allocations: 15.98 kB / 1.051 GB, free: 2.992 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001245/0.8418, allocations: 82.97 kB / 1.051 GB, free: 2.91 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007228/0.8425, allocations: 486.5 kB / 1.052 GB, free: 2.395 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.8426, allocations: 37 kB / 1.052 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.8427, allocations: 48 kB / 1.052 GB, free: 2.312 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.8437, allocations: 0.6411 MB / 1.052 GB, free: 1.605 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.8437, allocations: 0 / 1.052 GB, free: 1.605 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.8438, allocations: 16 kB / 1.052 GB, free: 1.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.379e-05/0.8438, allocations: 16 kB / 1.052 GB, free: 1.574 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001009/0.8448, allocations: 0.515 MB / 1.053 GB, free: 1.062 MB / 0.795 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.003231/0.8481, allocations: 3.205 MB / 1.056 GB, free: 13.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.8487, allocations: 355.5 kB / 1.056 GB, free: 13.3 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.8492, allocations: 244.8 kB / 1.056 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003382/0.8495, allocations: 348.4 kB / 1.057 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.8496, allocations: 42.56 kB / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=38): time 1.713e-06/0.8496, allocations: 0 / 1.057 GB, free: 12.6 MB / 0.8106 GB Notification: Performance of matching and sorting (n=38): time 0.002013/0.8516, allocations: 0.8574 MB / 1.058 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.35e-05/0.8516, allocations: 55.41 kB / 1.058 GB, free: 11.64 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006207/0.8523, allocations: 0.586 MB / 1.058 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.803e-05/0.8523, allocations: 33.7 kB / 1.058 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002348/0.8526, allocations: 328.4 kB / 1.059 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.4e-05/0.8527, allocations: 126.2 kB / 1.059 GB, free: 10.56 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.8527, allocations: 16 kB / 1.059 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.8529, allocations: 374.7 kB / 1.059 GB, free: 10.17 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.8533, allocations: 217.2 kB / 1.059 GB, free: 9.961 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005733/0.8539, allocations: 376 kB / 1.06 GB, free: 9.531 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005168/0.8544, allocations: 256.7 kB / 1.06 GB, free: 9.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/0.8545, allocations: 4 kB / 1.06 GB, free: 9.277 MB / 0.8106 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001361/0.8558, allocations: 0.73 MB / 1.061 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.856, allocations: 231.6 kB / 1.061 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.856, allocations: 4 kB / 1.061 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.8565, allocations: 156.8 kB / 1.061 GB, free: 8.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.8572, allocations: 151.8 kB / 1.061 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006132/0.8578, allocations: 0.6343 MB / 1.062 GB, free: 7.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005723/0.8584, allocations: 111.2 kB / 1.062 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.975e-05/0.8585, allocations: 27.98 kB / 1.062 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 8.436e-06/0.8585, allocations: 5.719 kB / 1.062 GB, free: 7.133 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001202/0.8597, allocations: 0.6189 MB / 1.063 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8597, allocations: 4 kB / 1.063 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.148e-06/0.8597, allocations: 8.562 kB / 1.063 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005585/0.8603, allocations: 167.8 kB / 1.063 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.8603, allocations: 11.94 kB / 1.063 GB, free: 6.328 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004989/0.8608, allocations: 91.28 kB / 1.063 GB, free: 6.242 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.782e-05/0.8609, allocations: 28 kB / 1.063 GB, free: 6.215 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (70): * Single equations (assignments): 69 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003094/0.8612, allocations: 276.9 kB / 1.063 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.087e-05/0.8613, allocations: 59.25 kB / 1.063 GB, free: 5.875 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00137/0.8627, allocations: 0.6855 MB / 1.064 GB, free: 5.18 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.8627, allocations: 4 kB / 1.064 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8627, allocations: 0 / 1.064 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.8627, allocations: 0 / 1.064 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002328/0.865, allocations: 1.398 MB / 1.065 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.865, allocations: 8.094 kB / 1.065 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00034/0.8654, allocations: 87.88 kB / 1.065 GB, free: 3.613 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003673/0.8658, allocations: 128.8 kB / 1.065 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.8658, allocations: 19.98 kB / 1.065 GB, free: 3.465 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005677/0.8664, allocations: 0.6381 MB / 1.066 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.8664, allocations: 4.031 kB / 1.066 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001229/0.8676, allocations: 0.7241 MB / 1.067 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002548/0.8679, allocations: 204 kB / 1.067 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.555e-05/0.868, allocations: 8 kB / 1.067 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.8684, allocations: 59.89 kB / 1.067 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.8685, allocations: 31.95 kB / 1.067 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.85e-05/0.8685, allocations: 16 kB / 1.067 GB, free: 1.711 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0004388/0.869, allocations: 403.1 kB / 1.067 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.869, allocations: 0 / 1.067 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001053/0.87, allocations: 391.3 kB / 1.068 GB, free: 0.9414 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (41): * Single equations (assignments): 38 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005914/0.8706, allocations: 288.7 kB / 1.068 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001912/0.8726, allocations: 0.9175 MB / 1.069 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.8726, allocations: 4 kB / 1.069 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0006597/0.8732, allocations: 299.9 kB / 1.069 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001375/0.8746, allocations: 268.1 kB / 1.07 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.8766, allocations: 1.335 MB / 1.071 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004605/0.8771, allocations: 0.9041 MB / 1.072 GB, free: 12.88 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000185/0.8773, allocations: 67.41 kB / 1.072 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.8773, allocations: 0 / 1.072 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of Templates: time 0.01854/0.8958, allocations: 12.96 MB / 1.084 GB, free: 15.94 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependent.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_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvePressureIndependentCalcHelperMain.o] Error 1