Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008539/0.000854, allocations: 99.75 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.001072/0.001072, allocations: 179.5 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.474/1.474, 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.54/2.54, allocations: 390.5 MB / 0.6662 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003828/0.0003831, allocations: 8 kB / 0.8154 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9764/0.9768, allocations: 142.3 MB / 0.9544 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.2119/1.189, allocations: 146.7 MB / 1.098 GB, free: 13.01 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003955/1.193, allocations: 1.645 MB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006375/1.194, allocations: 11.88 kB / 1.099 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0006811/1.194, allocations: 115.2 kB / 1.099 GB, free: 11.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00155/1.196, allocations: 394.1 kB / 1.1 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001358/1.197, allocations: 326.6 kB / 1.1 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003842/1.201, allocations: 2.983 MB / 1.103 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/1.203, allocations: 0.6914 MB / 1.104 GB, free: 6.832 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002051/1.205, allocations: 0.8559 MB / 1.105 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001158/1.206, allocations: 0.7118 MB / 1.105 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 8.867e-05/1.206, allocations: 32 kB / 1.105 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001424/1.207, allocations: 0.5574 MB / 1.106 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003252/1.208, allocations: 282.9 kB / 1.106 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003841/1.208, allocations: 233.1 kB / 1.106 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001238/1.209, allocations: 1.017 MB / 1.107 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/1.209, allocations: 0 / 1.107 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.294e-06/1.209, allocations: 0 / 1.107 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.158e-05/1.209, allocations: 0 / 1.107 GB, free: 3.137 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002162/1.212, allocations: 1.307 MB / 1.109 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.371e-05/1.212, allocations: 8.031 kB / 1.109 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007467/1.212, allocations: 186.5 kB / 1.109 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001379/1.214, allocations: 0.8039 MB / 1.11 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.3e-05/1.214, allocations: 41 kB / 1.11 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.394e-05/1.214, allocations: 64 kB / 1.11 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/1.215, allocations: 0.7888 MB / 1.11 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/1.215, allocations: 7.938 kB / 1.11 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.321e-05/1.215, allocations: 27.92 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/1.215, allocations: 16 kB / 1.11 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008951/1.216, allocations: 0.5461 MB / 1.111 GB, free: 15.15 MB / 0.8731 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.004192/1.22, allocations: 4.607 MB / 1.116 GB, free: 10.16 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007212/1.221, allocations: 422.2 kB / 1.116 GB, free: 9.742 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/1.221, allocations: 258.7 kB / 1.116 GB, free: 9.488 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000313/1.222, allocations: 190.2 kB / 1.116 GB, free: 9.266 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005019/1.222, allocations: 301.1 kB / 1.117 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 2.394e-06/1.222, allocations: 0 / 1.117 GB, free: 8.953 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.001361/1.224, allocations: 0.6514 MB / 1.117 GB, free: 8.297 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.415e-05/1.224, allocations: 81.11 kB / 1.117 GB, free: 8.199 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/1.225, allocations: 1.11 MB / 1.118 GB, free: 7.07 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 4.745e-05/1.225, allocations: 37.7 kB / 1.118 GB, free: 7.027 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.000458/1.226, allocations: 496.1 kB / 1.119 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/1.226, allocations: 114.5 kB / 1.119 GB, free: 6.422 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.216e-05/1.226, allocations: 4 kB / 1.119 GB, free: 6.418 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001765/1.226, allocations: 330 kB / 1.119 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003396/1.226, allocations: 184.7 kB / 1.12 GB, free: 5.91 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006208/1.227, allocations: 0.4979 MB / 1.12 GB, free: 5.281 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004574/1.227, allocations: 303.2 kB / 1.12 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.227, allocations: 0 / 1.12 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001112/1.229, allocations: 0.6812 MB / 1.121 GB, free: 4.285 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002432/1.229, allocations: 275.1 kB / 1.121 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.411e-05/1.229, allocations: 11.94 kB / 1.121 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/1.229, allocations: 8 kB / 1.121 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001715/1.231, allocations: 379.4 kB / 1.122 GB, free: 3.543 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003807/1.234, allocations: 6.095 MB / 1.128 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009755/1.235, allocations: 107.5 kB / 1.128 GB, free: 13.11 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-05/1.235, allocations: 27.94 kB / 1.128 GB, free: 13.08 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/1.236, allocations: 9.094 kB / 1.128 GB, free: 13.07 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009915/1.237, allocations: 0.5308 MB / 1.128 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/1.237, allocations: 8.047 kB / 1.128 GB, free: 12.53 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/1.237, allocations: 11.98 kB / 1.128 GB, free: 12.52 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/1.237, allocations: 160.3 kB / 1.128 GB, free: 12.36 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/1.237, allocations: 15.92 kB / 1.128 GB, free: 12.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007889/1.238, allocations: 91.53 kB / 1.129 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.874e-05/1.238, allocations: 24 kB / 1.129 GB, free: 12.23 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007536/1.239, allocations: 476.6 kB / 1.129 GB, free: 11.76 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/1.239, allocations: 102.8 kB / 1.129 GB, free: 11.66 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009159/1.24, allocations: 499 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.817e-06/1.24, allocations: 4 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/1.24, allocations: 4 kB / 1.13 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/1.24, allocations: 4 kB / 1.13 GB, free: 11.15 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002345/1.242, allocations: 1.392 MB / 1.131 GB, free: 9.684 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/1.242, allocations: 4 kB / 1.131 GB, free: 9.68 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005813/1.243, allocations: 151.8 kB / 1.131 GB, free: 9.531 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.587e-06/1.243, allocations: 4 kB / 1.131 GB, free: 9.527 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/1.243, allocations: 12.22 kB / 1.131 GB, free: 9.516 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00345/1.246, allocations: 6.021 MB / 1.137 GB, free: 3.262 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/1.246, allocations: 4.031 kB / 1.137 GB, free: 3.258 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.247, allocations: 0.6042 MB / 1.138 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000419/1.248, allocations: 227.7 kB / 1.138 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001028/1.248, allocations: 8 kB / 1.138 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004512/1.248, allocations: 59.78 kB / 1.138 GB, free: 2.309 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.288e-05/1.248, allocations: 31.97 kB / 1.138 GB, free: 2.277 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.601e-05/1.249, allocations: 11.98 kB / 1.138 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001129/1.25, allocations: 0.7836 MB / 1.139 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.25, allocations: 0 / 1.139 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00131/1.251, allocations: 411.4 kB / 1.139 GB, free: 1.07 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005178/1.252, allocations: 186.1 kB / 1.139 GB, free: 0.8867 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003013/1.255, allocations: 1.109 MB / 1.14 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.255, allocations: 0 / 1.14 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0007578/1.255, allocations: 292.1 kB / 1.141 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002179/1.258, allocations: 470.9 kB / 1.141 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00385/1.261, allocations: 2.076 MB / 1.143 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009953/1.262, allocations: 1.173 MB / 1.144 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/1.263, allocations: 71.42 kB / 1.144 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of SimCode: time 1.192e-06/1.263, allocations: 0 / 1.144 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of Templates: time 0.07607/1.339, allocations: 64.12 MB / 1.207 GB, free: 11.49 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlowCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowCalcHelperMain.o] Error 1