Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008578/0.0008582, allocations: 91.92 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.0008985/0.0008986, allocations: 185.1 kB / 16.92 MB, free: 6.922 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.402/1.402, 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.001767/0.001767, allocations: 278.6 kB / 292.3 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.936/0.936, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004142, allocations: 19.38 kB / 0.5993 GB, free: 28.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1888/0.1892, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction): time 0.5704/0.7597, allocations: 234.5 MB / 0.9148 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.7709, allocations: 7.233 MB / 0.9218 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001533/0.7725, allocations: 43.69 kB / 0.9219 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001669/0.7742, allocations: 0.5828 MB / 0.9225 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005132/0.7793, allocations: 1.949 MB / 0.9244 GB, free: 11.6 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004635/0.784, allocations: 1.866 MB / 0.9262 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.004928/0.7889, allocations: 4.431 MB / 0.9305 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001355/0.7903, allocations: 0.9224 MB / 0.9314 GB, free: 4.359 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.7937, allocations: 1.568 MB / 0.9329 GB, free: 2.785 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.7957, allocations: 0.9531 MB / 0.9339 GB, free: 1.832 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000245/0.796, allocations: 52 kB / 0.9339 GB, free: 1.781 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005155/0.8012, allocations: 2.829 MB / 0.9367 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005564/0.8017, allocations: 382.7 kB / 0.9371 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.8029, allocations: 0.6586 MB / 0.9377 GB, free: 13.9 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.00275/0.8056, allocations: 1.933 MB / 0.9396 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.8056, allocations: 0 / 0.9396 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8057, allocations: 4 kB / 0.9396 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.608e-05/0.8057, allocations: 3.938 kB / 0.9396 GB, free: 11.96 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.003289/0.809, allocations: 1.472 MB / 0.941 GB, free: 10.43 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.8091, allocations: 12.02 kB / 0.941 GB, free: 10.42 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002792/0.8119, allocations: 426 kB / 0.9414 GB, free: 10 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.8137, allocations: 0.9677 MB / 0.9424 GB, free: 8.988 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.892e-05/0.8138, allocations: 58 kB / 0.9424 GB, free: 8.934 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001791/0.814, allocations: 84 kB / 0.9425 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001747/0.8157, allocations: 0.8819 MB / 0.9434 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.8158, allocations: 0 / 0.9434 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.17e-05/0.8159, allocations: 31.98 kB / 0.9434 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-05/0.8159, allocations: 30 kB / 0.9434 GB, free: 7.898 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00158/0.8175, allocations: 0.8315 MB / 0.9443 GB, free: 7.07 MB / 0.6544 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.00494/0.8224, allocations: 3.639 MB / 0.9478 GB, free: 3.137 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.824, allocations: 1.11 MB / 0.9489 GB, free: 1.914 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006085/0.8246, allocations: 379.5 kB / 0.9493 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006767/0.8253, allocations: 428.8 kB / 0.9497 GB, free: 1.051 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.8253, allocations: 35.12 kB / 0.9497 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.324e-06/0.8253, allocations: 0 / 0.9497 GB, free: 1.008 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002113/0.8275, allocations: 0.9897 MB / 0.9507 GB, free: 16 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.046e-05/0.8275, allocations: 59.91 kB / 0.9507 GB, free: 15.94 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.8287, allocations: 0.8477 MB / 0.9516 GB, free: 15.07 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.492e-05/0.8288, allocations: 37.7 kB / 0.9516 GB, free: 15.03 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003952/0.8292, allocations: 484.1 kB / 0.9521 GB, free: 14.55 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/0.8294, allocations: 208.9 kB / 0.9522 GB, free: 14.34 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.55e-05/0.8295, allocations: 49.69 kB / 0.9523 GB, free: 14.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.8296, allocations: 326 kB / 0.9526 GB, free: 13.96 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005302/0.8302, allocations: 261 kB / 0.9529 GB, free: 13.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007518/0.8309, allocations: 383.4 kB / 0.9532 GB, free: 13.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001341/0.8323, allocations: 0.6125 MB / 0.9538 GB, free: 12.67 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.8323, allocations: 0 / 0.9538 GB, free: 12.67 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001873/0.8342, allocations: 0.7555 MB / 0.9546 GB, free: 11.91 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001478/0.8344, allocations: 118.7 kB / 0.9547 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/0.8344, allocations: 96 / 0.9547 GB, free: 11.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.824e-05/0.8344, allocations: 12 kB / 0.9547 GB, free: 11.76 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.8351, allocations: 139.8 kB / 0.9548 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-05/0.8351, allocations: 4 kB / 0.9548 GB, free: 11.62 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001363/0.8365, allocations: 139.3 kB / 0.955 GB, free: 11.48 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.24e-05/0.8366, allocations: 20 kB / 0.955 GB, free: 11.46 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.8366, allocations: 4 kB / 0.955 GB, free: 11.46 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001618/0.8382, allocations: 0.634 MB / 0.9556 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8382, allocations: 0 / 0.9556 GB, free: 10.83 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.8383, allocations: 7.938 kB / 0.9556 GB, free: 10.82 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007266/0.839, allocations: 127.8 kB / 0.9557 GB, free: 10.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.839, allocations: 7.984 kB / 0.9557 GB, free: 10.69 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.8403, allocations: 135.5 kB / 0.9559 GB, free: 10.56 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.994e-05/0.8404, allocations: 20 kB / 0.9559 GB, free: 10.54 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * 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.0008822/0.8413, allocations: 386.2 kB / 0.9562 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003098/0.8416, allocations: 102.7 kB / 0.9563 GB, free: 10.05 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001863/0.8435, allocations: 0.7626 MB / 0.9571 GB, free: 9.277 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-05/0.8435, allocations: 8 kB / 0.9571 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/0.8435, allocations: 0 / 0.9571 GB, free: 9.27 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/0.845, allocations: 0.9229 MB / 0.958 GB, free: 8.258 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.8496, allocations: 2.286 MB / 0.9602 GB, free: 5.836 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.948e-06/0.8496, allocations: 4 kB / 0.9602 GB, free: 5.832 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006904/0.8503, allocations: 143.8 kB / 0.9604 GB, free: 5.691 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.731e-05/0.8503, allocations: 7.938 kB / 0.9604 GB, free: 5.684 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.308e-05/0.8504, allocations: 16 kB / 0.9604 GB, free: 5.668 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.218e-05/0.8504, allocations: 4.281 kB / 0.9604 GB, free: 5.664 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.213e-06/0.8505, allocations: 11.94 kB / 0.9604 GB, free: 5.652 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002889/0.8534, allocations: 1.253 MB / 0.9616 GB, free: 4.344 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.854, allocations: 263.7 kB / 0.9619 GB, free: 4.066 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002238/0.8542, allocations: 23.94 kB / 0.9619 GB, free: 4.043 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/0.8554, allocations: 99.8 kB / 0.962 GB, free: 3.945 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001631/0.8556, allocations: 44.38 kB / 0.962 GB, free: 3.902 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.153e-05/0.8556, allocations: 23.94 kB / 0.9621 GB, free: 3.879 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001211/0.8569, allocations: 0.5861 MB / 0.9626 GB, free: 3.281 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8569, allocations: 8 kB / 0.9627 GB, free: 3.273 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001783/0.8587, allocations: 0.5377 MB / 0.9632 GB, free: 2.734 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * 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.0006305/0.8593, allocations: 244.8 kB / 0.9634 GB, free: 2.492 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.8614, allocations: 0.9663 MB / 0.9644 GB, free: 1.527 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.8614, allocations: 320 / 0.9644 GB, free: 1.527 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.000651/0.8621, allocations: 354.2 kB / 0.9647 GB, free: 1.18 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003727/0.8658, allocations: 0.6253 MB / 0.9653 GB, free: 0.5625 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00464/0.8705, allocations: 2.736 MB / 0.968 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/0.8716, allocations: 1.116 MB / 0.9691 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.8719, allocations: 87.38 kB / 0.9691 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of SimCode: time 1.142e-06/0.8719, allocations: 0 / 0.9691 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of Templates: time 0.03028/0.9022, allocations: 17.05 MB / 0.9858 GB, free: 11.62 MB / 0.7012 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunction.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.FlowJunctionCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1