Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve") translateModel(Buildings.Fluid.FixedResistances.Examples.CheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|checkValve.dp|checkValve_m_flow.dp|checkValve.m_flow|checkValveDpFix.m_flow|checkValve_m_flow.m_flow|checkValve.k|checkValveDpFix.k|checkValve_m_flow.k",fileNamePrefix="Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009692/0.000969, allocations: 100.9 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.001291/0.001291, allocations: 174.9 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.466/1.466, allocations: 223.2 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.468/2.468, allocations: 390.4 MB / 0.6662 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004018/0.000402, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9358/0.9362, allocations: 142.3 MB / 0.9544 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.CheckValve): time 0.01871/0.955, allocations: 19.03 MB / 0.973 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00777/0.9628, allocations: 4.646 MB / 0.9775 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008247/0.9637, allocations: 16.44 kB / 0.9775 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.9645, allocations: 200.4 kB / 0.9777 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002064/0.9665, allocations: 0.65 MB / 0.9784 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.9685, allocations: 0.6018 MB / 0.979 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002159/0.9707, allocations: 1.545 MB / 0.9805 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005537/0.9712, allocations: 337.4 kB / 0.9808 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009445/0.9722, allocations: 0.4978 MB / 0.9813 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006556/0.9728, allocations: 418.7 kB / 0.9817 GB, free: 2.613 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.053e-05/0.9729, allocations: 24.14 kB / 0.9817 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001262/0.9742, allocations: 0.5194 MB / 0.9822 GB, free: 2.332 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001424/0.9743, allocations: 103.2 kB / 0.9823 GB, free: 2.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001432/0.9745, allocations: 123.5 kB / 0.9824 GB, free: 2.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.9753, allocations: 0.5649 MB / 0.983 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.9753, allocations: 1.562 kB / 0.983 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9753, allocations: 0 / 0.983 GB, free: 1.824 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.9753, allocations: 0 / 0.983 GB, free: 1.824 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001467/0.9768, allocations: 0.8437 MB / 0.9838 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.9768, allocations: 9.219 kB / 0.9838 GB, free: 1.117 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.977, allocations: 66.73 kB / 0.9839 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/0.9776, allocations: 423 kB / 0.9843 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.214e-05/0.9776, allocations: 31 kB / 0.9843 GB, free: 0.7031 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.757e-05/0.9777, allocations: 39.16 kB / 0.9843 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006618/0.9784, allocations: 314.6 kB / 0.9846 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.9784, allocations: 1.25 kB / 0.9846 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.401e-05/0.9784, allocations: 15.05 kB / 0.9846 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.109e-05/0.9785, allocations: 9.719 kB / 0.9847 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006422/0.9791, allocations: 284 kB / 0.9849 GB, free: 376 kB / 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.00215/0.9813, allocations: 1.346 MB / 0.9862 GB, free: 15.22 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.9818, allocations: 268.8 kB / 0.9865 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.9822, allocations: 150.4 kB / 0.9866 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000492/0.9827, allocations: 0.4986 MB / 0.9871 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.517e-05/0.9827, allocations: 38.56 kB / 0.9872 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=25): time 2.595e-06/0.9827, allocations: 0 / 0.9872 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=25): time 0.001672/0.9844, allocations: 0.5868 MB / 0.9877 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.9844, allocations: 59.36 kB / 0.9878 GB, free: 13.65 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004977/0.9849, allocations: 462.1 kB / 0.9882 GB, free: 13.19 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.125e-05/0.985, allocations: 33.7 kB / 0.9883 GB, free: 13.15 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.9852, allocations: 244.5 kB / 0.9885 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 6.611e-05/0.9853, allocations: 82.75 kB / 0.9886 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.05e-05/0.9853, allocations: 8 kB / 0.9886 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9854, allocations: 354.8 kB / 0.9889 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002828/0.9857, allocations: 127.9 kB / 0.9891 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003336/0.9861, allocations: 185.2 kB / 0.9892 GB, free: 12.14 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003206/0.9864, allocations: 142.9 kB / 0.9894 GB, free: 12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.696e-06/0.9864, allocations: 0 / 0.9894 GB, free: 12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009283/0.9873, allocations: 426.4 kB / 0.9898 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/0.9874, allocations: 108.3 kB / 0.9899 GB, free: 11.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.9874, allocations: 8 kB / 0.9899 GB, free: 11.45 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003159/0.9878, allocations: 48.81 kB / 0.9899 GB, free: 11.4 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/0.9881, allocations: 75.89 kB / 0.99 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004125/0.9886, allocations: 0.5719 MB / 0.9906 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004845/0.989, allocations: 63.75 kB / 0.9906 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.515e-05/0.9891, allocations: 16.05 kB / 0.9906 GB, free: 10.65 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.891e-06/0.9891, allocations: 4 kB / 0.9906 GB, free: 10.64 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006634/0.9898, allocations: 330.3 kB / 0.991 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.364e-06/0.9898, allocations: 80 / 0.991 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.21e-06/0.9898, allocations: 11.89 kB / 0.991 GB, free: 10.31 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003681/0.9902, allocations: 83.89 kB / 0.991 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.9902, allocations: 3.984 kB / 0.991 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003939/0.9906, allocations: 73.12 kB / 0.9911 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.9906, allocations: 12 kB / 0.9911 GB, free: 10.14 MB / 0.7481 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 (34): * Single equations (assignments): 33 * 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.0002279/0.9909, allocations: 245 kB / 0.9914 GB, free: 9.895 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.311e-05/0.991, allocations: 51.42 kB / 0.9914 GB, free: 9.844 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009094/0.9919, allocations: 435.9 kB / 0.9918 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.487e-06/0.9919, allocations: 4 kB / 0.9918 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9919, allocations: 0 / 0.9918 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9919, allocations: 0 / 0.9918 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.9934, allocations: 0.9806 MB / 0.9928 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/0.9934, allocations: 0 / 0.9928 GB, free: 8.348 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002248/0.9936, allocations: 56.09 kB / 0.9928 GB, free: 8.293 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/0.9938, allocations: 40.83 kB / 0.9929 GB, free: 8.25 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.37e-05/0.9938, allocations: 8 kB / 0.9929 GB, free: 8.242 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003343/0.9941, allocations: 0.5562 MB / 0.9934 GB, free: 7.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/0.9942, allocations: 8.031 kB / 0.9934 GB, free: 7.652 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007537/0.9949, allocations: 0.503 MB / 0.9939 GB, free: 7.117 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001652/0.9951, allocations: 164.3 kB / 0.9941 GB, free: 6.938 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.9952, allocations: 7.984 kB / 0.9941 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.9955, allocations: 51.89 kB / 0.9941 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.9956, allocations: 19.97 kB / 0.9942 GB, free: 6.859 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.692e-05/0.9956, allocations: 19.95 kB / 0.9942 GB, free: 6.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003283/0.9959, allocations: 314.9 kB / 0.9945 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.996, allocations: 0 / 0.9945 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007548/0.9967, allocations: 251.5 kB / 0.9947 GB, free: 6.289 MB / 0.7481 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 Backend phase and start with SimCode phase: time 0.0004951/0.9972, allocations: 243.6 kB / 0.995 GB, free: 6.051 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00111/0.9983, allocations: 484.5 kB / 0.9954 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.9984, allocations: 0 / 0.9954 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003776/0.9987, allocations: 180 kB / 0.9956 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/1, allocations: 260.3 kB / 0.9958 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001457/1.002, allocations: 1.012 MB / 0.9968 GB, free: 4.098 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003728/1.002, allocations: 0.8552 MB / 0.9977 GB, free: 3.215 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/1.002, allocations: 43.42 kB / 0.9977 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of SimCode: time 3.91e-07/1.002, allocations: 0 / 0.9977 GB, free: 3.172 MB / 0.7481 GB Notification: Performance of Templates: time 0.01382/1.016, allocations: 10.21 MB / 1.008 GB, free: 9.047 MB / 0.7637 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.makefile make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValve.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.FixedResistances.Examples.CheckValveCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.CheckValveCalcHelperMain.o] Error 1