Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008142/0.0008142, allocations: 100.4 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.0009861/0.0009861, allocations: 181.3 kB / 16.58 MB, free: 6.879 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.497/1.497, allocations: 223.3 MB / 240.6 MB, free: 5.441 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.654/2.654, allocations: 390.5 MB / 0.6662 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004404/0.0004406, allocations: 11.94 kB / 0.8154 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9798/0.9803, allocations: 142.3 MB / 0.9544 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.203/1.183, allocations: 146.7 MB / 1.098 GB, free: 13.02 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002967/1.186, allocations: 1.648 MB / 1.099 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/1.187, allocations: 15.88 kB / 1.099 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004691/1.187, allocations: 111.2 kB / 1.099 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001112/1.188, allocations: 386.2 kB / 1.1 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009969/1.189, allocations: 336.2 kB / 1.1 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.003205/1.193, allocations: 2.983 MB / 1.103 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00102/1.194, allocations: 0.696 MB / 1.104 GB, free: 6.844 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001603/1.195, allocations: 0.8598 MB / 1.105 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008428/1.196, allocations: 0.7079 MB / 1.105 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.691e-05/1.196, allocations: 36 kB / 1.105 GB, free: 5.234 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001349/1.197, allocations: 0.5535 MB / 1.106 GB, free: 4.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/1.198, allocations: 286.9 kB / 1.106 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003046/1.198, allocations: 229.1 kB / 1.106 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001105/1.199, allocations: 1.021 MB / 1.107 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/1.199, allocations: 0 / 1.107 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.605e-06/1.199, allocations: 0 / 1.107 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.066e-05/1.199, allocations: 0 / 1.107 GB, free: 3.145 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.002062/1.201, allocations: 1.299 MB / 1.109 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.201, allocations: 12.03 kB / 1.109 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000721/1.202, allocations: 186.5 kB / 1.109 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0013/1.203, allocations: 0.8039 MB / 1.11 GB, free: 0.7266 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.334e-05/1.203, allocations: 41 kB / 1.11 GB, free: 0.6875 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.317e-05/1.204, allocations: 60 kB / 1.11 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/1.205, allocations: 0.7926 MB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/1.205, allocations: 4 kB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.174e-05/1.205, allocations: 23.98 kB / 1.11 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.6e-05/1.205, allocations: 20 kB / 1.11 GB, free: 15.71 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008879/1.206, allocations: 0.5383 MB / 1.111 GB, free: 15.18 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.00453/1.21, allocations: 4.603 MB / 1.116 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/1.211, allocations: 423.4 kB / 1.116 GB, free: 9.77 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003788/1.211, allocations: 248.7 kB / 1.116 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003046/1.212, allocations: 194.2 kB / 1.116 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005302/1.212, allocations: 305 kB / 1.117 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=31): time 1.853e-06/1.212, allocations: 0 / 1.117 GB, free: 8.98 MB / 0.8731 GB Notification: Performance of matching and sorting (n=31): time 0.001429/1.214, allocations: 0.6475 MB / 1.117 GB, free: 8.328 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/1.214, allocations: 85.31 kB / 1.117 GB, free: 8.227 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001448/1.215, allocations: 1.114 MB / 1.118 GB, free: 7.094 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 8.353e-05/1.215, allocations: 41.64 kB / 1.118 GB, free: 7.047 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005245/1.216, allocations: 492.1 kB / 1.119 GB, free: 6.559 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 9.516e-05/1.216, allocations: 114.5 kB / 1.119 GB, free: 6.445 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/1.216, allocations: 15.94 kB / 1.119 GB, free: 6.43 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.216, allocations: 322 kB / 1.119 GB, free: 6.109 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003384/1.217, allocations: 184.7 kB / 1.12 GB, free: 5.93 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006066/1.217, allocations: 0.4979 MB / 1.12 GB, free: 5.301 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004516/1.218, allocations: 307.3 kB / 1.12 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/1.218, allocations: 0 / 1.12 GB, free: 4.996 MB / 0.8731 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00112/1.219, allocations: 0.6792 MB / 1.121 GB, free: 4.305 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/1.219, allocations: 279.1 kB / 1.121 GB, free: 3.949 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/1.219, allocations: 4 kB / 1.121 GB, free: 3.945 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.743e-05/1.219, allocations: 12 kB / 1.121 GB, free: 3.934 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004459/1.219, allocations: 115.8 kB / 1.121 GB, free: 3.82 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.622e-05/1.22, allocations: 8 kB / 1.121 GB, free: 3.812 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007388/1.22, allocations: 107.4 kB / 1.121 GB, free: 3.707 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.595e-05/1.22, allocations: 24 kB / 1.122 GB, free: 3.684 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.813e-06/1.22, allocations: 7.938 kB / 1.122 GB, free: 3.676 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008622/1.221, allocations: 0.533 MB / 1.122 GB, free: 3.137 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.221, allocations: 8.094 kB / 1.122 GB, free: 3.129 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/1.221, allocations: 12 kB / 1.122 GB, free: 3.117 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003524/1.222, allocations: 111.8 kB / 1.122 GB, free: 3.008 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/1.222, allocations: 15.89 kB / 1.122 GB, free: 2.992 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005545/1.222, allocations: 92.11 kB / 1.122 GB, free: 2.902 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.886e-05/1.222, allocations: 24 kB / 1.122 GB, free: 2.879 MB / 0.8731 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): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000588/1.223, allocations: 464.8 kB / 1.123 GB, free: 2.414 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/1.223, allocations: 102.7 kB / 1.123 GB, free: 2.312 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008966/1.224, allocations: 0.4989 MB / 1.123 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/1.224, allocations: 11.95 kB / 1.123 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.224, allocations: 0 / 1.123 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/1.224, allocations: 3.984 kB / 1.123 GB, free: 1.793 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002036/1.226, allocations: 1.389 MB / 1.125 GB, free: 336 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/1.226, allocations: 4 kB / 1.125 GB, free: 332 kB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.226, allocations: 67.89 kB / 1.125 GB, free: 264 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/1.226, allocations: 12.16 kB / 1.125 GB, free: 252 kB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/1.226, allocations: 8 kB / 1.125 GB, free: 244 kB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/1.226, allocations: 3.938 kB / 1.125 GB, free: 240 kB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/1.226, allocations: 4 kB / 1.125 GB, free: 236 kB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008358/1.227, allocations: 0.6062 MB / 1.125 GB, free: 15.58 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002736/1.227, allocations: 219.8 kB / 1.126 GB, free: 15.35 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.228, allocations: 12 kB / 1.126 GB, free: 15.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004318/1.228, allocations: 63.78 kB / 1.126 GB, free: 15.27 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/1.228, allocations: 23.97 kB / 1.126 GB, free: 15.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/1.228, allocations: 19.92 kB / 1.126 GB, free: 15.23 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0009751/1.229, allocations: 0.7836 MB / 1.126 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.5e-07/1.229, allocations: 0 / 1.126 GB, free: 14.44 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001127/1.23, allocations: 407.4 kB / 1.127 GB, free: 14.04 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): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004841/1.231, allocations: 176.5 kB / 1.127 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001321/1.232, allocations: 0.8077 MB / 1.128 GB, free: 13.04 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.232, allocations: 5.375 kB / 1.128 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/1.232, allocations: 201.1 kB / 1.128 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001839/1.234, allocations: 466.5 kB / 1.128 GB, free: 12.38 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002867/1.237, allocations: 2.003 MB / 1.13 GB, free: 10.31 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/1.238, allocations: 1.181 MB / 1.132 GB, free: 9.102 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/1.238, allocations: 75.42 kB / 1.132 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of SimCode: time 6.91e-07/1.238, allocations: 0 / 1.132 GB, free: 9.027 MB / 0.8887 GB Notification: Performance of Templates: time 0.02907/1.267, allocations: 15.71 MB / 1.147 GB, free: 9.43 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f Buildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimisedCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o] Error 1