Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi|valPol.phi|valBut.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valLin.phi|valQui.phi|valEqu.phi|valInd.phi|valPol.phi|valBut.phi",fileNamePrefix="Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008813, allocations: 99.91 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.001873/0.001873, allocations: 175.4 kB / 16.58 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.56/1.56, allocations: 223.2 MB / 240.6 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.778/2.778, allocations: 436.7 MB / 0.7113 GB, free: 7.844 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004426, allocations: 8 kB / 0.8717 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.836, allocations: 153.7 MB / 1.022 GB, free: 1.055 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves): time 0.0306/0.8666, allocations: 27.39 MB / 1.048 GB, free: 5.582 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.8789, allocations: 7.652 MB / 1.056 GB, free: 13.92 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001665/0.8806, allocations: 27.75 kB / 1.056 GB, free: 13.89 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001246/0.8819, allocations: 310 kB / 1.056 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003924/0.8858, allocations: 1.087 MB / 1.057 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002879/0.8887, allocations: 0.9607 MB / 1.058 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.005026/0.8937, allocations: 3.539 MB / 1.062 GB, free: 7.992 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002032/0.8958, allocations: 1.086 MB / 1.063 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/0.8993, allocations: 1.46 MB / 1.064 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.9024, allocations: 1.554 MB / 1.066 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003911/0.9028, allocations: 64 kB / 1.066 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00237/0.9052, allocations: 0.8695 MB / 1.067 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004894/0.9057, allocations: 330.8 kB / 1.067 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0006051/0.9063, allocations: 249.1 kB / 1.067 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001935/0.9083, allocations: 1.541 MB / 1.069 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.9083, allocations: 0 / 1.069 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.9083, allocations: 0 / 1.069 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.572e-05/0.9083, allocations: 0 / 1.069 GB, free: 0.8203 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002287/0.9106, allocations: 1.344 MB / 1.07 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.9107, allocations: 11.98 kB / 1.07 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003407/0.911, allocations: 150.4 kB / 1.07 GB, free: 15.26 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001653/0.9127, allocations: 0.8488 MB / 1.071 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.594e-05/0.9128, allocations: 81.31 kB / 1.071 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/0.913, allocations: 124 kB / 1.071 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.9142, allocations: 0.6395 MB / 1.072 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.9142, allocations: 3.938 kB / 1.072 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.9143, allocations: 24 kB / 1.072 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.9143, allocations: 19.94 kB / 1.072 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008591/0.9152, allocations: 472.9 kB / 1.072 GB, free: 12.98 MB / 0.8262 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.004462/0.9196, allocations: 2.879 MB / 1.075 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.9203, allocations: 311.8 kB / 1.075 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.9206, allocations: 149.3 kB / 1.076 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000402/0.921, allocations: 344.7 kB / 1.076 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.594e-05/0.9211, allocations: 34.84 kB / 1.076 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=33): time 2.615e-06/0.9211, allocations: 8 kB / 1.076 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33): time 0.001353/0.9225, allocations: 0.5477 MB / 1.076 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.144e-05/0.9225, allocations: 55.41 kB / 1.077 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/0.9237, allocations: 0.8958 MB / 1.077 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0001263/0.9238, allocations: 53.7 kB / 1.077 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005475/0.9244, allocations: 0.5342 MB / 1.078 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.9245, allocations: 114.4 kB / 1.078 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.269e-05/0.9245, allocations: 12 kB / 1.078 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.9247, allocations: 322 kB / 1.078 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003736/0.9251, allocations: 185.2 kB / 1.079 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001533/0.9266, allocations: 1.143 MB / 1.08 GB, free: 4.758 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005597/0.9272, allocations: 306.7 kB / 1.08 GB, free: 4.461 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.9272, allocations: 3.953 kB / 1.08 GB, free: 4.457 MB / 0.8262 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001289/0.9285, allocations: 0.6422 MB / 1.081 GB, free: 3.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.9287, allocations: 152.3 kB / 1.081 GB, free: 3.629 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.9287, allocations: 4 kB / 1.081 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.9287, allocations: 8 kB / 1.081 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001387/0.9301, allocations: 231.7 kB / 1.081 GB, free: 3.391 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001871/0.932, allocations: 2.961 MB / 1.084 GB, free: 320 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003063/0.9351, allocations: 0.7417 MB / 1.085 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.908e-05/0.9351, allocations: 27.98 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/0.9352, allocations: 4 kB / 1.085 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009476/0.9361, allocations: 0.501 MB / 1.085 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9361, allocations: 4.188 kB / 1.085 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.045e-06/0.9362, allocations: 8 kB / 1.085 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.9368, allocations: 164 kB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/0.9368, allocations: 8 kB / 1.085 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002856/0.9397, allocations: 0.7416 MB / 1.086 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.914e-05/0.9397, allocations: 23.98 kB / 1.086 GB, free: 14.09 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (73): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006017/0.9403, allocations: 335.6 kB / 1.086 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001627/0.9405, allocations: 98.77 kB / 1.086 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.9417, allocations: 0.5243 MB / 1.087 GB, free: 13.13 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-05/0.9417, allocations: 4 kB / 1.087 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9417, allocations: 0 / 1.087 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.015e-05/0.9417, allocations: 11.88 kB / 1.087 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002035/0.9438, allocations: 1.26 MB / 1.088 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.9438, allocations: 0 / 1.088 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005128/0.9443, allocations: 119.8 kB / 1.088 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.395e-06/0.9443, allocations: 0 / 1.088 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.592e-05/0.9444, allocations: 20.11 kB / 1.088 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.9459, allocations: 2.942 MB / 1.091 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.9459, allocations: 0 / 1.091 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008836/0.9468, allocations: 0.5816 MB / 1.092 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003684/0.9472, allocations: 227.6 kB / 1.092 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.9473, allocations: 11.98 kB / 1.092 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004824/0.9478, allocations: 59.88 kB / 1.092 GB, free: 7.668 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.9479, allocations: 27.92 kB / 1.092 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.9479, allocations: 15.98 kB / 1.092 GB, free: 7.625 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.00108/0.949, allocations: 0.6006 MB / 1.093 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.949, allocations: 0 / 1.093 GB, free: 7.016 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002436/0.9515, allocations: 0.5423 MB / 1.093 GB, free: 6.473 MB / 0.8419 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009124/0.9524, allocations: 321.4 kB / 1.094 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002558/0.955, allocations: 0.8431 MB / 1.094 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.955, allocations: 0 / 1.094 GB, free: 5.312 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005581/0.9556, allocations: 236.2 kB / 1.095 GB, free: 5.082 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.9578, allocations: 483.5 kB / 1.095 GB, free: 4.609 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002939/0.9608, allocations: 1.835 MB / 1.097 GB, free: 2.727 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.9614, allocations: 1.025 MB / 1.098 GB, free: 1.672 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002474/0.9617, allocations: 83.42 kB / 1.098 GB, free: 1.59 MB / 0.8419 GB Notification: Performance of SimCode: time 1.723e-06/0.9617, allocations: 7.938 kB / 1.098 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of Templates: time 0.04856/1.01, allocations: 36.28 MB / 1.133 GB, free: 13.54 MB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValvesCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesCalcHelperMain.o] Error 1