Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.006945/0.006945, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 192 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.768/1.768, allocations: 205.1 MB / 222.6 MB, free: 4.723 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.86/1.86, allocations: 292.3 MB / 0.5491 GB, free: 13.67 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 64.61 kB / 0.6715 GB, free: 26.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.329, allocations: 114.6 MB / 0.7833 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.9148/1.244, allocations: 237.7 MB / 1.015 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01235/1.256, allocations: 7.237 MB / 1.023 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002982/1.259, allocations: 47.03 kB / 1.023 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002397/1.262, allocations: 0.5806 MB / 1.023 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.006932/1.269, allocations: 1.944 MB / 1.025 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.0062/1.275, allocations: 1.854 MB / 1.027 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00678/1.282, allocations: 4.415 MB / 1.031 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001828/1.284, allocations: 0.9401 MB / 1.032 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005557/1.289, allocations: 1.591 MB / 1.034 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003239/1.292, allocations: 0.9949 MB / 1.035 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002953/1.293, allocations: 61.31 kB / 1.035 GB, free: 9.469 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00688/1.3, allocations: 2.836 MB / 1.037 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008049/1.3, allocations: 402.3 kB / 1.038 GB, free: 7.555 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/1.302, allocations: 0.6526 MB / 1.038 GB, free: 7.156 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003882/1.306, allocations: 1.972 MB / 1.04 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/1.306, allocations: 6.094 kB / 1.04 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.633e-06/1.306, allocations: 0 / 1.04 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 2.402e-05/1.306, allocations: 0 / 1.04 GB, free: 5.91 MB / 0.7481 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.00359/1.309, allocations: 1.703 MB / 1.042 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.983e-05/1.309, allocations: 8.156 kB / 1.042 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002969/1.312, allocations: 418 kB / 1.042 GB, free: 4.434 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002071/1.314, allocations: 0.9583 MB / 1.043 GB, free: 3.68 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.207e-05/1.314, allocations: 63.5 kB / 1.043 GB, free: 3.652 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/1.315, allocations: 91.88 kB / 1.044 GB, free: 3.617 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/1.316, allocations: 0.8652 MB / 1.044 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/1.316, allocations: 0 / 1.044 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.558e-05/1.317, allocations: 32.44 kB / 1.044 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.259e-05/1.317, allocations: 25.91 kB / 1.044 GB, free: 3.094 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/1.318, allocations: 0.813 MB / 1.045 GB, free: 2.688 MB / 0.7481 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.005743/1.324, allocations: 3.617 MB / 1.049 GB, free: 15.61 MB / 0.7638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/1.326, allocations: 1.092 MB / 1.05 GB, free: 14.7 MB / 0.7638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006157/1.326, allocations: 375.8 kB / 1.05 GB, free: 14.52 MB / 0.7638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008846/1.327, allocations: 405.2 kB / 1.051 GB, free: 14.11 MB / 0.7638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.885e-05/1.327, allocations: 52.72 kB / 1.051 GB, free: 14.05 MB / 0.7638 GB Notification: Performance of pre-optimization done (n=60): time 4.509e-06/1.327, allocations: 0 / 1.051 GB, free: 14.05 MB / 0.7638 GB Notification: Performance of matching and sorting (n=60): time 0.002508/1.33, allocations: 0.9572 MB / 1.052 GB, free: 13.58 MB / 0.7638 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/1.33, allocations: 56.66 kB / 1.052 GB, free: 13.52 MB / 0.7638 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/1.331, allocations: 0.8274 MB / 1.052 GB, free: 13.04 MB / 0.7638 GB Notification: Performance of collectPreVariables (initialization): time 8.309e-05/1.331, allocations: 38.77 kB / 1.052 GB, free: 13 MB / 0.7638 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005036/1.332, allocations: 480.5 kB / 1.053 GB, free: 12.59 MB / 0.7638 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002375/1.332, allocations: 214.3 kB / 1.053 GB, free: 12.4 MB / 0.7638 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/1.332, allocations: 116.1 kB / 1.053 GB, free: 12.33 MB / 0.7638 GB Notification: Performance of setup shared object (initialization): time 0.0002109/1.332, allocations: 334 kB / 1.054 GB, free: 12 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005101/1.333, allocations: 249.6 kB / 1.054 GB, free: 11.88 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006088/1.334, allocations: 380.1 kB / 1.054 GB, free: 11.62 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/1.335, allocations: 0.5855 MB / 1.055 GB, free: 11.3 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/1.335, allocations: 0 / 1.055 GB, free: 11.3 MB / 0.7638 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001512/1.336, allocations: 0.7333 MB / 1.055 GB, free: 10.92 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/1.336, allocations: 5.438 kB / 1.055 GB, free: 10.92 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.336, allocations: 5.969 kB / 1.055 GB, free: 10.92 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/1.336, allocations: 3.406 kB / 1.055 GB, free: 10.92 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006755/1.337, allocations: 129.4 kB / 1.056 GB, free: 10.89 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.432e-05/1.337, allocations: 3.688 kB / 1.056 GB, free: 10.89 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.338, allocations: 118.1 kB / 1.056 GB, free: 10.82 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.651e-05/1.338, allocations: 24.16 kB / 1.056 GB, free: 10.82 MB / 0.7638 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00103/1.339, allocations: 496.3 kB / 1.056 GB, free: 10.52 MB / 0.7638 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005901/1.34, allocations: 366.6 kB / 1.057 GB, free: 10.25 MB / 0.7638 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/1.341, allocations: 0.5851 MB / 1.057 GB, free: 9.645 MB / 0.7638 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.394e-06/1.341, allocations: 0 / 1.057 GB, free: 9.645 MB / 0.7638 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001597/1.343, allocations: 0.7203 MB / 1.058 GB, free: 8.918 MB / 0.7638 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/1.343, allocations: 4 kB / 1.058 GB, free: 8.914 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.343, allocations: 8.109 kB / 1.058 GB, free: 8.906 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.361e-06/1.343, allocations: 4 kB / 1.058 GB, free: 8.902 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/1.343, allocations: 123.8 kB / 1.058 GB, free: 8.781 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.343, allocations: 4 kB / 1.058 GB, free: 8.777 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.344, allocations: 115.5 kB / 1.058 GB, free: 8.664 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.275e-05/1.345, allocations: 23.98 kB / 1.058 GB, free: 8.641 MB / 0.7638 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.0003845/1.345, allocations: 212.1 kB / 1.058 GB, free: 8.426 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003017/1.345, allocations: 106.7 kB / 1.058 GB, free: 8.32 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001555/1.347, allocations: 0.7469 MB / 1.059 GB, free: 7.566 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.736e-06/1.347, allocations: 8 kB / 1.059 GB, free: 7.559 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.347, allocations: 0 / 1.059 GB, free: 7.559 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001246/1.348, allocations: 0.9033 MB / 1.06 GB, free: 6.566 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004118/1.352, allocations: 2.239 MB / 1.062 GB, free: 4.191 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.352, allocations: 4 kB / 1.062 GB, free: 4.188 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007301/1.353, allocations: 136.2 kB / 1.062 GB, free: 4.055 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-05/1.353, allocations: 12 kB / 1.062 GB, free: 4.043 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.037e-05/1.353, allocations: 20 kB / 1.062 GB, free: 4.023 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/1.353, allocations: 7.984 kB / 1.062 GB, free: 4.016 MB / 0.7638 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.591e-06/1.353, allocations: 7.938 kB / 1.062 GB, free: 4.008 MB / 0.7638 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002207/1.355, allocations: 1.252 MB / 1.064 GB, free: 2.695 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006924/1.356, allocations: 255.8 kB / 1.064 GB, free: 2.426 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/1.356, allocations: 20 kB / 1.064 GB, free: 2.406 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008631/1.357, allocations: 95.75 kB / 1.064 GB, free: 2.312 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.357, allocations: 48.31 kB / 1.064 GB, free: 2.266 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.024e-05/1.357, allocations: 27.98 kB / 1.064 GB, free: 2.238 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0008943/1.358, allocations: 0.5782 MB / 1.065 GB, free: 1.648 MB / 0.7638 GB Notification: Performance of sort global known variables: time 2.7e-07/1.358, allocations: 3.938 kB / 1.065 GB, free: 1.645 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.001482/1.36, allocations: 0.5299 MB / 1.065 GB, free: 1.113 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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.0005749/1.36, allocations: 243.3 kB / 1.065 GB, free: 0.8711 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.362, allocations: 0.931 MB / 1.066 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.362, allocations: 0.5 kB / 1.066 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006398/1.363, allocations: 342.2 kB / 1.067 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.366, allocations: 0.6289 MB / 1.067 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004362/1.371, allocations: 2.592 MB / 1.07 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008091/1.371, allocations: 1.12 MB / 1.071 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003678/1.372, allocations: 87.42 kB / 1.071 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of SimCode: time 1.112e-06/1.372, allocations: 0 / 1.071 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.03089/1.403, allocations: 17.19 MB / 1.088 GB, free: 10.05 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f Buildings_8_Buildings.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1