Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 91.53 kB / 16.02 MB, free: 80 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.001258/0.001258, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.353/1.353, allocations: 223.2 MB / 240.9 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001973/0.001973, allocations: 282.7 kB / 292.3 MB, free: 1.84 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9548/0.9548, allocations: 169.5 MB / 0.501 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004478, allocations: 21.23 kB / 0.5993 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1765, allocations: 88.54 MB / 0.6858 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe): time 0.4712/0.6477, allocations: 112.6 MB / 0.7957 GB, free: 7.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03636/0.6842, allocations: 26.39 MB / 0.8215 GB, free: 4.199 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005079/0.6893, allocations: 100.1 kB / 0.8216 GB, free: 4.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003529/0.6928, allocations: 0.9246 MB / 0.8225 GB, free: 3.668 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01291/0.7058, allocations: 3.16 MB / 0.8255 GB, free: 2.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.007839/0.7136, allocations: 2.084 MB / 0.8276 GB, free: 1.34 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01285/0.7265, allocations: 8.173 MB / 0.8356 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003953/0.7305, allocations: 1.544 MB / 0.8371 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007151/0.7377, allocations: 2.256 MB / 0.8393 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00392/0.7416, allocations: 1.713 MB / 0.8409 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007436/0.7424, allocations: 93.03 kB / 0.841 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006713/0.7491, allocations: 2.122 MB / 0.8431 GB, free: 9.418 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000929/0.7501, allocations: 423 kB / 0.8435 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003202/0.7533, allocations: 1.156 MB / 0.8446 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005686/0.759, allocations: 3.022 MB / 0.8476 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.759, allocations: 2.656 kB / 0.8476 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.515e-06/0.759, allocations: 3.938 kB / 0.8476 GB, free: 6.566 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001204/0.7591, allocations: 0 / 0.8476 GB, free: 6.566 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006117/0.7653, allocations: 2.426 MB / 0.85 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.7653, allocations: 10.06 kB / 0.85 GB, free: 4.812 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009142/0.7662, allocations: 251.4 kB / 0.8502 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004905/0.7712, allocations: 2.119 MB / 0.8523 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.2e-05/0.7713, allocations: 99.86 kB / 0.8524 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.7715, allocations: 135.9 kB / 0.8525 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002402/0.7739, allocations: 1.463 MB / 0.8539 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.7739, allocations: 7.281 kB / 0.8539 GB, free: 2.125 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.774, allocations: 58 kB / 0.854 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.7741, allocations: 32.81 kB / 0.854 GB, free: 2.082 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/0.7758, allocations: 1.036 MB / 0.855 GB, free: 1.57 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.01198/0.7878, allocations: 8.137 MB / 0.863 GB, free: 9.852 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.7897, allocations: 0.8428 MB / 0.8638 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006821/0.7904, allocations: 387.8 kB / 0.8642 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002955/0.7933, allocations: 2.798 MB / 0.8669 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.177e-05/0.7934, allocations: 43.22 kB / 0.867 GB, free: 5.145 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=85): time 3.457e-06/0.7934, allocations: 4 kB / 0.867 GB, free: 5.141 MB / 0.5762 GB Notification: Performance of matching and sorting (n=85): time 0.00302/0.7964, allocations: 1.14 MB / 0.8681 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.8e-05/0.7965, allocations: 64.06 kB / 0.8681 GB, free: 3.934 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00367/0.8002, allocations: 1.61 MB / 0.8697 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.8004, allocations: 41.7 kB / 0.8697 GB, free: 2.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009918/0.8014, allocations: 0.9197 MB / 0.8706 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004009/0.8018, allocations: 314.2 kB / 0.8709 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001721/0.802, allocations: 89.67 kB / 0.871 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.8021, allocations: 353.9 kB / 0.8714 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006952/0.8028, allocations: 330.4 kB / 0.8717 GB, free: 240 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.8039, allocations: 0.715 MB / 0.8724 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00193/0.8059, allocations: 1.093 MB / 0.8734 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-05/0.8059, allocations: 0 / 0.8734 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003176/0.8091, allocations: 1.257 MB / 0.8747 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004583/0.8096, allocations: 437.4 kB / 0.8751 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.505e-05/0.8096, allocations: 23.92 kB / 0.8751 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.981e-05/0.8097, allocations: 16 kB / 0.8751 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001029/0.8107, allocations: 263.6 kB / 0.8754 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.266e-05/0.8108, allocations: 31.86 kB / 0.8754 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.8129, allocations: 182.6 kB / 0.8756 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002218/0.8131, allocations: 71.91 kB / 0.8757 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.8131, allocations: 4 kB / 0.8757 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002038/0.8152, allocations: 1.058 MB / 0.8767 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.087e-05/0.8152, allocations: 19.94 kB / 0.8767 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.052e-05/0.8153, allocations: 20 kB / 0.8767 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/0.8161, allocations: 259.5 kB / 0.877 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.752e-05/0.8161, allocations: 27.92 kB / 0.877 GB, free: 10.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001759/0.8179, allocations: 163.1 kB / 0.8772 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/0.8181, allocations: 63.97 kB / 0.8772 GB, free: 10.06 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001059/0.8191, allocations: 489.9 kB / 0.8777 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/0.8197, allocations: 189.7 kB / 0.8779 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003554/0.8233, allocations: 1.748 MB / 0.8796 GB, free: 7.637 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-05/0.8234, allocations: 19.98 kB / 0.8796 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.8234, allocations: 0 / 0.8796 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001807/0.8252, allocations: 1.154 MB / 0.8807 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00702/0.8322, allocations: 3.486 MB / 0.8841 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.785e-05/0.8323, allocations: 12.16 kB / 0.8841 GB, free: 2.797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007326/0.8331, allocations: 207.7 kB / 0.8843 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/0.8331, allocations: 12 kB / 0.8843 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.072e-05/0.8332, allocations: 39.98 kB / 0.8844 GB, free: 2.543 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.678e-05/0.8332, allocations: 15.94 kB / 0.8844 GB, free: 2.527 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.045e-06/0.8332, allocations: 7.984 kB / 0.8844 GB, free: 2.52 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003701/0.8369, allocations: 2.249 MB / 0.8866 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.8383, allocations: 474 kB / 0.8871 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000503/0.8388, allocations: 36.12 kB / 0.8871 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001437/0.8402, allocations: 99.77 kB / 0.8872 GB, free: 15.55 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002093/0.8404, allocations: 116.6 kB / 0.8873 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001554/0.8406, allocations: 59.97 kB / 0.8874 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002208/0.8428, allocations: 1.075 MB / 0.8884 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8428, allocations: 0 / 0.8884 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00449/0.8473, allocations: 1.127 MB / 0.8895 GB, free: 13.15 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (129): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.002161/0.8495, allocations: 0.7842 MB / 0.8903 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003413/0.8529, allocations: 1.811 MB / 0.892 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/0.8529, allocations: 5.875 kB / 0.892 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001183/0.8541, allocations: 0.7514 MB / 0.8928 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006777/0.8609, allocations: 0.9254 MB / 0.8937 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007538/0.8685, allocations: 4.518 MB / 0.8981 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001399/0.8699, allocations: 1.428 MB / 0.8995 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006302/0.8706, allocations: 195.4 kB / 0.8997 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of SimCode: time 8.92e-07/0.8706, allocations: 4 kB / 0.8997 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of Templates: time 0.06057/0.9311, allocations: 36.01 MB / 0.9348 GB, free: 14.87 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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.PlugFlowPipeCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipeCalcHelperMain.o] Error 1