Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009301/0.0009301, allocations: 98.88 kB / 16.02 MB, free: 76 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.001014/0.001014, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.332/1.332, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001687/0.001687, allocations: 262.9 kB / 292.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9248/0.9248, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004516/0.0004517, allocations: 12.94 kB / 0.5993 GB, free: 28.13 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1782/0.1786, allocations: 88.55 MB / 0.6858 GB, free: 15.1 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop): time 0.6111/0.7898, allocations: 157.2 MB / 0.8393 GB, free: 8.059 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002899/0.7927, allocations: 1.704 MB / 0.8409 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.7929, allocations: 10.53 kB / 0.8409 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005284/0.7935, allocations: 127.9 kB / 0.8411 GB, free: 6.586 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001171/0.7947, allocations: 497.9 kB / 0.8415 GB, free: 6.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009789/0.7957, allocations: 375 kB / 0.8419 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0007855/0.7964, allocations: 0.7565 MB / 0.8426 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002555/0.7967, allocations: 151 kB / 0.8428 GB, free: 5.469 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005676/0.7973, allocations: 296.5 kB / 0.8431 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001869/0.7975, allocations: 158.6 kB / 0.8432 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.7975, allocations: 6.375 kB / 0.8432 GB, free: 5.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.7986, allocations: 0.7685 MB / 0.844 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.835e-05/0.7987, allocations: 76.33 kB / 0.844 GB, free: 4.711 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/0.7988, allocations: 128.7 kB / 0.8442 GB, free: 4.621 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0004291/0.7992, allocations: 354.5 kB / 0.8445 GB, free: 4.418 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.7992, allocations: 4 kB / 0.8445 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.903e-06/0.7992, allocations: 0 / 0.8445 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.889e-06/0.7992, allocations: 0 / 0.8445 GB, free: 4.414 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007433/0.8, allocations: 0.5418 MB / 0.845 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.8, allocations: 9.719 kB / 0.845 GB, free: 3.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003291/0.8004, allocations: 51.22 kB / 0.8451 GB, free: 3.879 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003266/0.8007, allocations: 287.7 kB / 0.8454 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.8007, allocations: 18.92 kB / 0.8454 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.865e-05/0.8008, allocations: 16.25 kB / 0.8454 GB, free: 3.582 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003804/0.8012, allocations: 200.7 kB / 0.8456 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.8012, allocations: 0 / 0.8456 GB, free: 3.445 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.8012, allocations: 6.375 kB / 0.8456 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.8012, allocations: 6.594 kB / 0.8456 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003168/0.8016, allocations: 143.9 kB / 0.8457 GB, free: 3.375 MB / 0.5606 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.000972/0.8025, allocations: 0.7866 MB / 0.8465 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.8028, allocations: 93.78 kB / 0.8466 GB, free: 2.602 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.8029, allocations: 77.06 kB / 0.8467 GB, free: 2.566 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002973/0.8032, allocations: 191.9 kB / 0.8469 GB, free: 2.363 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.235e-05/0.8033, allocations: 33.5 kB / 0.8469 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.8033, allocations: 0 / 0.8469 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10): time 0.0006378/0.8039, allocations: 235.5 kB / 0.8471 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.685e-05/0.804, allocations: 57.73 kB / 0.8472 GB, free: 2.137 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.8042, allocations: 266.1 kB / 0.8474 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/0.8042, allocations: 32.64 kB / 0.8475 GB, free: 1.93 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.8044, allocations: 146.7 kB / 0.8476 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.8044, allocations: 32.91 kB / 0.8476 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.969e-05/0.8044, allocations: 16.27 kB / 0.8476 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.8045, allocations: 332.7 kB / 0.848 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001242/0.8047, allocations: 48.52 kB / 0.848 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001627/0.8048, allocations: 99.11 kB / 0.8481 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.8051, allocations: 139.5 kB / 0.8482 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8051, allocations: 0 / 0.8482 GB, free: 1.23 MB / 0.5606 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003365/0.8055, allocations: 162.1 kB / 0.8484 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 7.06e-05/0.8055, allocations: 124.2 kB / 0.8485 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.8056, allocations: 0 / 0.8485 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.8056, allocations: 6.875 kB / 0.8485 GB, free: 1.008 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001172/0.8057, allocations: 26.7 kB / 0.8485 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.8057, allocations: 0 / 0.8485 GB, free: 1 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/0.8059, allocations: 29.7 kB / 0.8486 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.997e-05/0.8059, allocations: 6 kB / 0.8486 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-06/0.8059, allocations: 2.562 kB / 0.8486 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000268/0.8062, allocations: 121.3 kB / 0.8487 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-06/0.8062, allocations: 0 / 0.8487 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.126e-06/0.8062, allocations: 3.219 kB / 0.8487 GB, free: 0.9297 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.8063, allocations: 24.2 kB / 0.8487 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-06/0.8063, allocations: 2.781 kB / 0.8487 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001664/0.8065, allocations: 23.27 kB / 0.8487 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.318e-05/0.8065, allocations: 13.09 kB / 0.8488 GB, free: 0.9023 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.8067, allocations: 218.4 kB / 0.849 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.324e-05/0.8067, allocations: 26.53 kB / 0.849 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003658/0.8071, allocations: 170.4 kB / 0.8491 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.8071, allocations: 4 kB / 0.8492 GB, free: 0.5703 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.8071, allocations: 7.375 kB / 0.8492 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.8071, allocations: 0 / 0.8492 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008213/0.808, allocations: 0.608 MB / 0.8498 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.808, allocations: 2.562 kB / 0.8498 GB, free: 32 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.8081, allocations: 23.14 kB / 0.8498 GB, free: 28 kB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.8081, allocations: 7.156 kB / 0.8498 GB, free: 24 kB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.8081, allocations: 6.906 kB / 0.8498 GB, free: 20 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.8081, allocations: 6.547 kB / 0.8498 GB, free: 16 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.8081, allocations: 6.406 kB / 0.8498 GB, free: 12 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003823/0.8085, allocations: 305.5 kB / 0.8501 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.8086, allocations: 113.9 kB / 0.8502 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.8087, allocations: 11 kB / 0.8502 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000191/0.8089, allocations: 14.77 kB / 0.8502 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.452e-05/0.8089, allocations: 13.89 kB / 0.8502 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.8089, allocations: 6.75 kB / 0.8502 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000171/0.8091, allocations: 194.6 kB / 0.8504 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8091, allocations: 4 kB / 0.8504 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004362/0.8096, allocations: 99.05 kB / 0.8505 GB, free: 15.46 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003448/0.8099, allocations: 164.2 kB / 0.8507 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.8104, allocations: 176.6 kB / 0.8509 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8104, allocations: 0 / 0.8509 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001541/0.8105, allocations: 73.91 kB / 0.8509 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008704/0.8114, allocations: 135.6 kB / 0.8511 GB, free: 15.17 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007052/0.8121, allocations: 0.5354 MB / 0.8516 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003159/0.8125, allocations: 0.7641 MB / 0.8523 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.3e-05/0.8125, allocations: 18.44 kB / 0.8523 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.8125, allocations: 0 / 0.8523 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of Templates: time 0.005542/0.8181, allocations: 3.71 MB / 0.856 GB, free: 12.1 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDrop.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDropCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDropCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PressureDropCalcHelperMain.o] Error 1