Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") translateModel(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|valOPPoi.m_flow|valKv.m_flow|valCv.m_flow|valAv.m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 100.2 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.001457/0.001457, allocations: 175.1 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.469/1.469, allocations: 223.2 MB / 240.6 MB, free: 5.43 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.574/2.574, allocations: 390.4 MB / 0.6662 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003397, allocations: 8 kB / 0.8154 GB, free: 14.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8098/0.8102, allocations: 142.3 MB / 0.9544 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization): time 0.02767/0.8379, allocations: 28.27 MB / 0.982 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01318/0.8511, allocations: 10.16 MB / 0.9919 GB, free: 9.316 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.8525, allocations: 23.91 kB / 0.992 GB, free: 9.305 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001005/0.8535, allocations: 262.8 kB / 0.9922 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.002792/0.8563, allocations: 0.9306 MB / 0.9931 GB, free: 8.336 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002117/0.8585, allocations: 0.7214 MB / 0.9938 GB, free: 7.727 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.002695/0.8612, allocations: 2.408 MB / 0.9962 GB, free: 5.305 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007834/0.862, allocations: 0.5224 MB / 0.9967 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001549/0.8635, allocations: 0.8244 MB / 0.9975 GB, free: 3.938 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.8643, allocations: 0.634 MB / 0.9981 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 7.868e-05/0.8644, allocations: 32 kB / 0.9981 GB, free: 3.27 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001161/0.8656, allocations: 0.5107 MB / 0.9986 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.8658, allocations: 131.3 kB / 0.9988 GB, free: 2.629 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0002264/0.866, allocations: 181.3 kB / 0.9989 GB, free: 2.445 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.8671, allocations: 0.7539 MB / 0.9997 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.8671, allocations: 0 / 0.9997 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of FrontEnd: time 5.45e-06/0.8671, allocations: 0 / 0.9997 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.295e-05/0.8671, allocations: 3.938 kB / 0.9997 GB, free: 1.688 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 117 * Number of variables: 117 Notification: Performance of Generate backend data structure: time 0.001669/0.8688, allocations: 1.02 MB / 1.001 GB, free: 0.6172 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.8688, allocations: 15.97 kB / 1.001 GB, free: 0.6016 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.869, allocations: 98.86 kB / 1.001 GB, free: 0.5039 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007653/0.8698, allocations: 0.5305 MB / 1.001 GB, free: 15.93 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.861e-05/0.8698, allocations: 41 kB / 1.001 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.875e-05/0.8699, allocations: 56 kB / 1.001 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007558/0.8707, allocations: 414.3 kB / 1.002 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.8707, allocations: 0 / 1.002 GB, free: 15.43 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.004e-05/0.8707, allocations: 27.98 kB / 1.002 GB, free: 15.4 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.8708, allocations: 12 kB / 1.002 GB, free: 15.39 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.8713, allocations: 303.8 kB / 1.002 GB, free: 15.09 MB / 0.7637 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.002577/0.8739, allocations: 1.858 MB / 1.004 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003378/0.8743, allocations: 174.5 kB / 1.004 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.8745, allocations: 84.8 kB / 1.004 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002947/0.8748, allocations: 336.4 kB / 1.004 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/0.8748, allocations: 42.56 kB / 1.005 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=19): time 1.833e-06/0.8748, allocations: 0 / 1.005 GB, free: 12.37 MB / 0.7637 GB Notification: Performance of matching and sorting (n=19): time 0.0007037/0.8755, allocations: 322.4 kB / 1.005 GB, free: 12.05 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.865e-05/0.8756, allocations: 63.36 kB / 1.005 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007392/0.8763, allocations: 0.6765 MB / 1.006 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 3.131e-05/0.8764, allocations: 33.7 kB / 1.006 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.8766, allocations: 360.8 kB / 1.006 GB, free: 10.89 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.851e-05/0.8767, allocations: 70.94 kB / 1.006 GB, free: 10.82 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.694e-05/0.8767, allocations: 8 kB / 1.006 GB, free: 10.81 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.8769, allocations: 374.9 kB / 1.006 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002353/0.8771, allocations: 112.6 kB / 1.006 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.8774, allocations: 179.5 kB / 1.007 GB, free: 10.13 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002555/0.8777, allocations: 133.6 kB / 1.007 GB, free: 10 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.8777, allocations: 3.938 kB / 1.007 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006375/0.8783, allocations: 386.6 kB / 1.007 GB, free: 9.613 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 6.865e-05/0.8784, allocations: 110.7 kB / 1.007 GB, free: 9.492 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.8784, allocations: 7.953 kB / 1.007 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.8785, allocations: 0 / 1.007 GB, free: 9.484 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009548/0.8794, allocations: 163.9 kB / 1.007 GB, free: 9.324 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.8806, allocations: 2.364 MB / 1.01 GB, free: 6.867 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000567/0.8812, allocations: 83.69 kB / 1.01 GB, free: 6.785 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.556e-05/0.8813, allocations: 19.98 kB / 1.01 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.8813, allocations: 4 kB / 1.01 GB, free: 6.762 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005596/0.8818, allocations: 296 kB / 1.01 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.645e-06/0.8819, allocations: 0 / 1.01 GB, free: 6.473 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.8819, allocations: 4 kB / 1.01 GB, free: 6.469 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.8823, allocations: 103.8 kB / 1.01 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.266e-06/0.8823, allocations: 0 / 1.01 GB, free: 6.367 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004323/0.8827, allocations: 83.53 kB / 1.01 GB, free: 6.285 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.303e-05/0.8828, allocations: 16 kB / 1.01 GB, free: 6.27 MB / 0.7637 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 (45): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002958/0.8831, allocations: 261 kB / 1.011 GB, free: 6.004 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.8832, allocations: 67.16 kB / 1.011 GB, free: 5.938 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006628/0.8838, allocations: 326.3 kB / 1.011 GB, free: 5.613 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.8839, allocations: 7.953 kB / 1.011 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8839, allocations: 0 / 1.011 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.8839, allocations: 0 / 1.011 GB, free: 5.605 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.8852, allocations: 0.9049 MB / 1.012 GB, free: 4.633 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.8852, allocations: 8.062 kB / 1.012 GB, free: 4.625 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003102/0.8855, allocations: 79.88 kB / 1.012 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.8855, allocations: 0 / 1.012 GB, free: 4.547 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.8855, allocations: 8 kB / 1.012 GB, free: 4.539 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.8866, allocations: 2.352 MB / 1.014 GB, free: 2.094 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.8866, allocations: 7.969 kB / 1.014 GB, free: 2.086 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005005/0.8871, allocations: 409.1 kB / 1.015 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001967/0.8873, allocations: 184 kB / 1.015 GB, free: 1.461 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.8874, allocations: 7.938 kB / 1.015 GB, free: 1.453 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003618/0.8877, allocations: 47.94 kB / 1.015 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.92e-05/0.8878, allocations: 19.92 kB / 1.015 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.8878, allocations: 8 kB / 1.015 GB, free: 1.379 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0005317/0.8884, allocations: 475 kB / 1.015 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8884, allocations: 0 / 1.015 GB, free: 0.918 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009284/0.8893, allocations: 359 kB / 1.016 GB, free: 0.5664 MB / 0.7637 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 (21): * 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): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004761/0.8898, allocations: 243.3 kB / 1.016 GB, free: 340 kB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001433/0.8912, allocations: 499.3 kB / 1.016 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.8912, allocations: 0 / 1.016 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0003666/0.8916, allocations: 145.4 kB / 1.017 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001707/0.8933, allocations: 377 kB / 1.017 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001814/0.8952, allocations: 1.364 MB / 1.018 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004599/0.8956, allocations: 0.9332 MB / 1.019 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.8958, allocations: 47.42 kB / 1.019 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.8958, allocations: 0 / 1.019 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Templates: time 0.02505/0.9208, allocations: 22.05 MB / 1.041 GB, free: 6.988 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.makefile make -j1 -f Buildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterization.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.Validation.TwoWayValveParameterizationCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Actuators.Valves.Validation.TwoWayValveParameterizationCalcHelperMain.o] Error 1