Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.0009338/0.0009342, allocations: 102.7 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.0009792/0.0009795, allocations: 174.6 kB / 16.58 MB, free: 6.863 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.505/1.505, allocations: 223.2 MB / 240.6 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.176/1.176, allocations: 143.4 MB / 435.1 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004384/0.0004386, allocations: 8 kB / 0.5166 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2212/0.2217, allocations: 83.41 MB / 0.5981 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.533/0.7548, allocations: 146.8 MB / 0.7414 GB, free: 6.699 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003605/0.7585, allocations: 1.651 MB / 0.743 GB, free: 5.547 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004807/0.759, allocations: 12.69 kB / 0.743 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006421/0.7596, allocations: 113.8 kB / 0.7431 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00152/0.7612, allocations: 386.4 kB / 0.7435 GB, free: 5.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.7626, allocations: 333.7 kB / 0.7438 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003759/0.7663, allocations: 2.984 MB / 0.7467 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001263/0.7676, allocations: 0.6851 MB / 0.7474 GB, free: 3.32 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002056/0.7697, allocations: 0.8636 MB / 0.7482 GB, free: 2.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000983/0.7707, allocations: 0.7079 MB / 0.7489 GB, free: 1.742 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.161e-05/0.7707, allocations: 36 kB / 0.749 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.7722, allocations: 0.5463 MB / 0.7495 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003816/0.7726, allocations: 286.9 kB / 0.7498 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.773, allocations: 237.1 kB / 0.75 GB, free: 0.6406 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001307/0.7743, allocations: 1.052 MB / 0.751 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.654e-06/0.7743, allocations: 4 kB / 0.751 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.134e-06/0.7744, allocations: 0 / 0.751 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.226e-05/0.7744, allocations: 1.5 kB / 0.751 GB, free: 15.58 MB / 0.5762 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.002068/0.7765, allocations: 1.307 MB / 0.7523 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.158e-05/0.7765, allocations: 12.02 kB / 0.7523 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007327/0.7772, allocations: 182.5 kB / 0.7525 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001346/0.7786, allocations: 0.7972 MB / 0.7533 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.7787, allocations: 48.95 kB / 0.7533 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.7787, allocations: 60 kB / 0.7534 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001188/0.7799, allocations: 0.797 MB / 0.7541 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.78, allocations: 0 / 0.7541 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.513e-05/0.78, allocations: 24 kB / 0.7542 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.7801, allocations: 12 kB / 0.7542 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009334/0.781, allocations: 0.55 MB / 0.7547 GB, free: 11.61 MB / 0.5762 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.004515/0.7855, allocations: 4.606 MB / 0.7592 GB, free: 6.617 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.7863, allocations: 422.4 kB / 0.7596 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.7868, allocations: 257.7 kB / 0.7599 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/0.7872, allocations: 194.2 kB / 0.76 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005914/0.7878, allocations: 296.2 kB / 0.7603 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.7878, allocations: 4 kB / 0.7603 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001786/0.7896, allocations: 0.6441 MB / 0.761 GB, free: 4.762 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.918e-05/0.7897, allocations: 86.69 kB / 0.761 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001608/0.7913, allocations: 1.106 MB / 0.7621 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.556e-05/0.7914, allocations: 37.7 kB / 0.7622 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004642/0.7919, allocations: 0.4884 MB / 0.7626 GB, free: 2.996 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.792, allocations: 106.5 kB / 0.7627 GB, free: 2.891 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.792, allocations: 8 kB / 0.7627 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.7922, allocations: 326 kB / 0.7631 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003513/0.7925, allocations: 188.7 kB / 0.7632 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006102/0.7932, allocations: 0.494 MB / 0.7637 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.7936, allocations: 293.1 kB / 0.764 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.561e-05/0.7936, allocations: 8 kB / 0.764 GB, free: 1.449 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.00113/0.7948, allocations: 0.6734 MB / 0.7647 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002138/0.795, allocations: 283.1 kB / 0.7649 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.795, allocations: 7.953 kB / 0.7649 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.202e-05/0.7951, allocations: 8 kB / 0.7649 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004272/0.7955, allocations: 115.8 kB / 0.7651 GB, free: 280 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/0.7955, allocations: 8.859 kB / 0.7651 GB, free: 272 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007212/0.7962, allocations: 108.4 kB / 0.7652 GB, free: 164 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.7963, allocations: 24 kB / 0.7652 GB, free: 140 kB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.7963, allocations: 4 kB / 0.7652 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008939/0.7972, allocations: 0.5469 MB / 0.7657 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.7972, allocations: 4 kB / 0.7657 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.7973, allocations: 11.98 kB / 0.7657 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003422/0.7976, allocations: 112.4 kB / 0.7659 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.7976, allocations: 11.94 kB / 0.7659 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005774/0.7982, allocations: 99.62 kB / 0.766 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.7983, allocations: 23.94 kB / 0.766 GB, free: 15.32 MB / 0.5919 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.0006046/0.7989, allocations: 465.3 kB / 0.7664 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000124/0.799, allocations: 106.7 kB / 0.7665 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009343/0.7999, allocations: 0.4911 MB / 0.767 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.8, allocations: 4 kB / 0.767 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.8, allocations: 0 / 0.767 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.334e-06/0.8, allocations: 3.984 kB / 0.767 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002049/0.8021, allocations: 1.395 MB / 0.7684 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.8021, allocations: 4 kB / 0.7684 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002346/0.8023, allocations: 63.89 kB / 0.7684 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.8023, allocations: 4.5 kB / 0.7684 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.444e-05/0.8024, allocations: 15.94 kB / 0.7685 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.8024, allocations: 8.156 kB / 0.7685 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/0.8024, allocations: 11.5 kB / 0.7685 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008319/0.8032, allocations: 0.617 MB / 0.7691 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002918/0.8035, allocations: 219.8 kB / 0.7693 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001096/0.8036, allocations: 11.98 kB / 0.7693 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004366/0.8041, allocations: 59.75 kB / 0.7694 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.415e-05/0.8042, allocations: 35.95 kB / 0.7694 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.185e-05/0.8042, allocations: 8 kB / 0.7694 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009988/0.8052, allocations: 0.7836 MB / 0.7702 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8052, allocations: 0 / 0.7702 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001163/0.8064, allocations: 411.4 kB / 0.7706 GB, free: 10.48 MB / 0.5919 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.0004552/0.8069, allocations: 176.6 kB / 0.7707 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001278/0.8081, allocations: 0.808 MB / 0.7715 GB, free: 9.484 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.8082, allocations: 3.938 kB / 0.7715 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/0.8085, allocations: 196.9 kB / 0.7717 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001819/0.8103, allocations: 457.6 kB / 0.7721 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00296/0.8133, allocations: 2.017 MB / 0.7741 GB, free: 6.773 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/0.8142, allocations: 1.181 MB / 0.7753 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.8145, allocations: 75.42 kB / 0.7753 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of SimCode: time 1.583e-06/0.8145, allocations: 0 / 0.7753 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of Templates: time 0.03055/0.8451, allocations: 15.74 MB / 0.7907 GB, free: 5.902 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimisedCalcHelperMain.o] Error 1