Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin.ports.1..m_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008716/0.0008717, allocations: 102.4 kB / 15.71 MB, free: 460 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.0009449/0.0009449, allocations: 175.4 kB / 16.58 MB, free: 6.105 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.542/1.542, allocations: 223.2 MB / 240.6 MB, free: 5.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.855/2.855, allocations: 436.7 MB / 0.7113 GB, free: 7.781 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004425/0.0004425, allocations: 11.98 kB / 0.8717 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9277/0.9281, allocations: 153.7 MB / 1.022 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1702/1.098, allocations: 146.7 MB / 1.165 GB, free: 13.91 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003018/1.101, allocations: 1.668 MB / 1.167 GB, free: 12.24 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002711/1.102, allocations: 7.938 kB / 1.167 GB, free: 12.23 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0005157/1.102, allocations: 111.2 kB / 1.167 GB, free: 12.12 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.001085/1.103, allocations: 390.1 kB / 1.167 GB, free: 11.74 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008972/1.104, allocations: 330.4 kB / 1.167 GB, free: 11.42 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003004/1.107, allocations: 3.005 MB / 1.17 GB, free: 8.41 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002516/1.11, allocations: 2.149 MB / 1.172 GB, free: 6.25 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001735/1.112, allocations: 0.8754 MB / 1.173 GB, free: 5.371 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008233/1.112, allocations: 0.7001 MB / 1.174 GB, free: 4.668 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/1.112, allocations: 36 kB / 1.174 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00117/1.114, allocations: 0.5457 MB / 1.175 GB, free: 4.086 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0003093/1.114, allocations: 286.9 kB / 1.175 GB, free: 3.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002739/1.114, allocations: 229.1 kB / 1.175 GB, free: 3.574 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00114/1.115, allocations: 1.041 MB / 1.176 GB, free: 2.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.115, allocations: 0 / 1.176 GB, free: 2.531 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.164e-06/1.115, allocations: 3.938 kB / 1.176 GB, free: 2.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.555e-05/1.115, allocations: 0 / 1.176 GB, free: 2.527 MB / 0.92 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.002099/1.118, allocations: 1.327 MB / 1.177 GB, free: 1.141 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/1.118, allocations: 8.031 kB / 1.177 GB, free: 1.133 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007082/1.118, allocations: 194.4 kB / 1.178 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/1.12, allocations: 0.8002 MB / 1.178 GB, free: 88 kB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.656e-05/1.12, allocations: 48.94 kB / 1.178 GB, free: 36 kB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.701e-05/1.12, allocations: 56.05 kB / 1.178 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001204/1.121, allocations: 0.8315 MB / 1.179 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.898e-05/1.121, allocations: 7.938 kB / 1.179 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.492e-05/1.121, allocations: 23.95 kB / 1.179 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/1.121, allocations: 16 kB / 1.179 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009047/1.122, allocations: 0.5696 MB / 1.18 GB, free: 14.46 MB / 0.9356 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.003852/1.126, allocations: 4.247 MB / 1.184 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007204/1.127, allocations: 456.4 kB / 1.184 GB, free: 9.492 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/1.127, allocations: 349.1 kB / 1.185 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002991/1.127, allocations: 194.2 kB / 1.185 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005046/1.128, allocations: 327 kB / 1.185 GB, free: 8.582 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001756/1.128, allocations: 35.59 kB / 1.185 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 1.593e-06/1.128, allocations: 0 / 1.185 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33): time 0.004488/1.133, allocations: 1.696 MB / 1.187 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/1.133, allocations: 81.11 kB / 1.187 GB, free: 6.723 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/1.134, allocations: 1.143 MB / 1.188 GB, free: 5.562 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.756e-05/1.134, allocations: 33.81 kB / 1.188 GB, free: 5.523 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/1.134, allocations: 496.4 kB / 1.189 GB, free: 5.035 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.147e-05/1.135, allocations: 118.4 kB / 1.189 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.56e-05/1.135, allocations: 8 kB / 1.189 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.135, allocations: 329.9 kB / 1.189 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/1.135, allocations: 209 kB / 1.189 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/1.136, allocations: 0.5228 MB / 1.19 GB, free: 3.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/1.136, allocations: 319.1 kB / 1.19 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.136, allocations: 8 kB / 1.19 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001964/1.138, allocations: 1.049 MB / 1.191 GB, free: 2.332 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001918/1.138, allocations: 271.3 kB / 1.191 GB, free: 1.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/1.138, allocations: 8 kB / 1.191 GB, free: 1.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001216/1.14, allocations: 347.8 kB / 1.192 GB, free: 1.637 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000358/1.14, allocations: 99.86 kB / 1.192 GB, free: 1.539 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/1.141, allocations: 1.044 MB / 1.193 GB, free: 480 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007676/1.142, allocations: 91.75 kB / 1.193 GB, free: 388 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/1.142, allocations: 28 kB / 1.193 GB, free: 360 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.366e-06/1.142, allocations: 4 kB / 1.193 GB, free: 356 kB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001324/1.143, allocations: 0.7904 MB / 1.194 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/1.143, allocations: 7.984 kB / 1.194 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005393/1.144, allocations: 249.1 kB / 1.194 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003058/1.144, allocations: 99.8 kB / 1.194 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/1.147, allocations: 3.045 MB / 1.197 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007742/1.148, allocations: 87.81 kB / 1.197 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-05/1.148, allocations: 27.98 kB / 1.197 GB, free: 11.9 MB / 0.9512 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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: 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 20} Notification: Performance of prepare postOptimizeDAE: time 0.0006097/1.149, allocations: 468.7 kB / 1.198 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/1.149, allocations: 102.7 kB / 1.198 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/1.15, allocations: 0.7891 MB / 1.199 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.109e-06/1.15, allocations: 4.188 kB / 1.199 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/1.15, allocations: 0 / 1.199 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.15, allocations: 3.984 kB / 1.199 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002358/1.153, allocations: 1.734 MB / 1.2 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/1.153, allocations: 7.984 kB / 1.2 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002182/1.153, allocations: 64.11 kB / 1.2 GB, free: 8.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004718/1.154, allocations: 232.6 kB / 1.201 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.575e-05/1.154, allocations: 12 kB / 1.201 GB, free: 8.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000864/1.154, allocations: 1.011 MB / 1.202 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.154, allocations: 4.031 kB / 1.202 GB, free: 7.359 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001239/1.156, allocations: 0.8973 MB / 1.202 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000316/1.156, allocations: 231.7 kB / 1.203 GB, free: 6.176 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/1.156, allocations: 11.94 kB / 1.203 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000561/1.157, allocations: 63.86 kB / 1.203 GB, free: 6.102 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.309e-05/1.157, allocations: 43.86 kB / 1.203 GB, free: 6.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.498e-05/1.157, allocations: 11.98 kB / 1.203 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009649/1.158, allocations: 0.808 MB / 1.204 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/1.158, allocations: 0 / 1.204 GB, free: 5.23 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.001298/1.159, allocations: 479.4 kB / 1.204 GB, free: 4.762 MB / 0.9512 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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: 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 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.000464/1.16, allocations: 175.8 kB / 1.204 GB, free: 4.594 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002026/1.162, allocations: 1.141 MB / 1.205 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/1.162, allocations: 0 / 1.205 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0004797/1.162, allocations: 242.4 kB / 1.205 GB, free: 3.184 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/1.165, allocations: 0.6383 MB / 1.206 GB, free: 2.551 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002748/1.168, allocations: 2.04 MB / 1.208 GB, free: 460 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007235/1.168, allocations: 1.189 MB / 1.209 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/1.169, allocations: 63.42 kB / 1.209 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of SimCode: time 5.82e-07/1.169, allocations: 0 / 1.209 GB, free: 15.17 MB / 0.9669 GB Notification: Performance of Templates: time 0.02977/1.198, allocations: 21.26 MB / 1.23 GB, free: 10 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimisedCalcHelperMain.o] Error 1