Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction") translateModel(Buildings.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|spl.port_1.m_flow|spl.port_2.m_flow|spl.port_3.m_flow|spl.port_1.p|spl.port_2.p|spl.port_3.p|spl.res1.dp|spl.res2.dp|spl.res3.dp|senTem1.T|senTem2.T|senTem3.T",fileNamePrefix="Buildings_latest_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.001075/0.001075, allocations: 102.6 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.001588/0.001588, allocations: 173.7 kB / 16.58 MB, free: 6.043 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.509/1.509, allocations: 223.3 MB / 240.6 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.726/2.726, allocations: 436.7 MB / 0.7113 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000441/0.000441, allocations: 8 kB / 0.8717 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8297/0.8302, allocations: 153.7 MB / 1.022 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2545/1.085, allocations: 218.8 MB / 1.235 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01184/1.097, allocations: 6.808 MB / 1.242 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002115/1.099, allocations: 43.69 kB / 1.242 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001955/1.101, allocations: 468.9 kB / 1.243 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005418/1.106, allocations: 1.539 MB / 1.244 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005048/1.111, allocations: 1.447 MB / 1.245 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.005761/1.117, allocations: 3.772 MB / 1.249 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001584/1.119, allocations: 0.8003 MB / 1.25 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004094/1.123, allocations: 1.431 MB / 1.251 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/1.125, allocations: 0.9143 MB / 1.252 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001563/1.125, allocations: 48 kB / 1.252 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003994/1.129, allocations: 1.387 MB / 1.254 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004906/1.129, allocations: 378.8 kB / 1.254 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005794/1.13, allocations: 289.1 kB / 1.254 GB, free: 2.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002943/1.133, allocations: 1.796 MB / 1.256 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/1.133, allocations: 0 / 1.256 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.675e-06/1.133, allocations: 0 / 1.256 GB, free: 0.543 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.903e-05/1.133, allocations: 0 / 1.256 GB, free: 0.543 MB / 0.9981 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.8678/2.001, allocations: 1.48 MB / 1.257 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/2.001, allocations: 14.02 kB / 1.257 GB, free: 32.55 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/2.004, allocations: 426.1 kB / 1.258 GB, free: 32.48 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002299/2.006, allocations: 0.9267 MB / 1.259 GB, free: 32.17 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.77e-05/2.006, allocations: 62.27 kB / 1.259 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/2.007, allocations: 82.64 kB / 1.259 GB, free: 32.16 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/2.009, allocations: 0.8687 MB / 1.26 GB, free: 32.11 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/2.009, allocations: 0 / 1.26 GB, free: 32.11 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/2.009, allocations: 35.8 kB / 1.26 GB, free: 32.11 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.839e-05/2.009, allocations: 31.2 kB / 1.26 GB, free: 32.11 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002526/2.012, allocations: 0.8229 MB / 1.261 GB, free: 32.1 MB / 0.9981 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.008362/2.02, allocations: 3.65 MB / 1.264 GB, free: 30.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001766/2.022, allocations: 1.114 MB / 1.265 GB, free: 29.87 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007397/2.023, allocations: 370.3 kB / 1.266 GB, free: 29.86 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007183/2.023, allocations: 427.1 kB / 1.266 GB, free: 29.48 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/2.023, allocations: 38.22 kB / 1.266 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=60): time 3.266e-06/2.023, allocations: 1.156 kB / 1.266 GB, free: 29.44 MB / 0.9981 GB Notification: Performance of matching and sorting (n=60): time 0.002582/2.026, allocations: 0.9863 MB / 1.267 GB, free: 29.34 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.594e-05/2.026, allocations: 58.88 kB / 1.267 GB, free: 29.27 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/2.028, allocations: 0.8264 MB / 1.268 GB, free: 29.13 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 6.826e-05/2.028, allocations: 38.3 kB / 1.268 GB, free: 29.1 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003767/2.028, allocations: 484.8 kB / 1.268 GB, free: 28.92 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/2.028, allocations: 212.6 kB / 1.269 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.173e-05/2.028, allocations: 14.75 kB / 1.269 GB, free: 28.78 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.222e-05/2.028, allocations: 330.4 kB / 1.269 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005278/2.029, allocations: 249 kB / 1.269 GB, free: 28.47 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006917/2.03, allocations: 375.5 kB / 1.27 GB, free: 28.38 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007069/2.03, allocations: 303.8 kB / 1.27 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/2.03, allocations: 0.5312 kB / 1.27 GB, free: 28.36 MB / 0.9981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001903/2.032, allocations: 0.7458 MB / 1.271 GB, free: 28.26 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 7.717e-05/2.032, allocations: 125.6 kB / 1.271 GB, free: 28.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/2.032, allocations: 1.062 kB / 1.271 GB, free: 28.14 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.609e-05/2.032, allocations: 3.781 kB / 1.271 GB, free: 28.14 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006899/2.033, allocations: 135 kB / 1.271 GB, free: 28.13 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.759e-05/2.033, allocations: 6.188 kB / 1.271 GB, free: 28.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/2.034, allocations: 134.3 kB / 1.271 GB, free: 28.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.495e-05/2.034, allocations: 21.23 kB / 1.271 GB, free: 28.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/2.034, allocations: 3.938 kB / 1.271 GB, free: 28.1 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001344/2.036, allocations: 0.6304 MB / 1.272 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/2.036, allocations: 1.594 kB / 1.272 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/2.036, allocations: 8.281 kB / 1.272 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000552/2.036, allocations: 129.2 kB / 1.272 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/2.036, allocations: 6.812 kB / 1.272 GB, free: 28.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/2.037, allocations: 136.4 kB / 1.272 GB, free: 28.04 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.117e-05/2.037, allocations: 20.58 kB / 1.272 GB, free: 28.04 MB / 0.9981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006665/2.038, allocations: 377.6 kB / 1.272 GB, free: 27.85 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001898/2.038, allocations: 104.7 kB / 1.272 GB, free: 27.8 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001554/2.04, allocations: 0.7717 MB / 1.273 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.759e-06/2.04, allocations: 7.047 kB / 1.273 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/2.04, allocations: 0 / 1.273 GB, free: 27.72 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001167/2.041, allocations: 0.9243 MB / 1.274 GB, free: 27.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00419/2.045, allocations: 2.263 MB / 1.276 GB, free: 26.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/2.045, allocations: 5.609 kB / 1.276 GB, free: 26.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006771/2.046, allocations: 143.4 kB / 1.276 GB, free: 26.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.286e-05/2.046, allocations: 5.594 kB / 1.276 GB, free: 26.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/2.046, allocations: 17.22 kB / 1.276 GB, free: 26.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.485e-05/2.046, allocations: 10.5 kB / 1.276 GB, free: 26.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-06/2.046, allocations: 6.375 kB / 1.276 GB, free: 26.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/2.048, allocations: 1.251 MB / 1.278 GB, free: 26.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/2.049, allocations: 261.9 kB / 1.278 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/2.049, allocations: 17.44 kB / 1.278 GB, free: 26.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007946/2.05, allocations: 101.1 kB / 1.278 GB, free: 26.11 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/2.05, allocations: 49.91 kB / 1.278 GB, free: 26.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.3e-05/2.05, allocations: 27.58 kB / 1.278 GB, free: 26.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001179/2.051, allocations: 0.5752 MB / 1.279 GB, free: 25.99 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.806e-06/2.051, allocations: 0 / 1.279 GB, free: 25.99 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002376/2.054, allocations: 0.532 MB / 1.279 GB, free: 25.93 MB / 0.9981 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 (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.0007463/2.054, allocations: 242.8 kB / 1.279 GB, free: 25.82 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002327/2.057, allocations: 0.9592 MB / 1.28 GB, free: 25.79 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/2.057, allocations: 3.844 kB / 1.28 GB, free: 25.79 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006639/2.057, allocations: 353.5 kB / 1.281 GB, free: 25.78 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/2.06, allocations: 0.6217 MB / 1.281 GB, free: 25.73 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/2.065, allocations: 2.7 MB / 1.284 GB, free: 24.29 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/2.065, allocations: 1.124 MB / 1.285 GB, free: 23.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003434/2.066, allocations: 86 kB / 1.285 GB, free: 23.57 MB / 0.9981 GB Notification: Performance of SimCode: time 1.223e-06/2.066, allocations: 0 / 1.285 GB, free: 23.57 MB / 0.9981 GB Notification: Performance of Templates: time 0.02832/2.094, allocations: 17.05 MB / 1.302 GB, free: 22.14 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunction.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 OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_latest_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1