Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.0009342/0.0009341, 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.001155/0.001155, allocations: 174 kB / 16.58 MB, free: 6.402 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.546/1.546, allocations: 223.2 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.679/2.679, allocations: 390.4 MB / 0.6662 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003907/0.0003908, allocations: 8 kB / 0.8154 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8183/0.8187, allocations: 142.3 MB / 0.9544 GB, free: 8.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.2748/1.094, allocations: 218.8 MB / 1.168 GB, free: 4.738 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01309/1.107, allocations: 6.803 MB / 1.175 GB, free: 13.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001946/1.109, allocations: 43.69 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001778/1.111, allocations: 460.9 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.006243/1.117, allocations: 1.539 MB / 1.177 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005066/1.122, allocations: 1.446 MB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.006162/1.128, allocations: 3.78 MB / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001652/1.13, allocations: 0.8082 MB / 1.183 GB, free: 5.836 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004141/1.134, allocations: 1.428 MB / 1.184 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002173/1.136, allocations: 0.9143 MB / 1.185 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0003536/1.136, allocations: 52 kB / 1.185 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004511/1.141, allocations: 1.391 MB / 1.186 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007726/1.142, allocations: 378.8 kB / 1.187 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008309/1.143, allocations: 289.1 kB / 1.187 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00344/1.146, allocations: 1.785 MB / 1.189 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/1.146, allocations: 0 / 1.189 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.957e-06/1.146, allocations: 0 / 1.189 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.516e-05/1.146, allocations: 11.94 kB / 1.189 GB, free: 15.58 MB / 0.9512 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.003857/1.15, allocations: 1.479 MB / 1.19 GB, free: 14.05 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.469e-05/1.15, allocations: 8.031 kB / 1.19 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003937/1.154, allocations: 429.9 kB / 1.191 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/1.156, allocations: 0.9257 MB / 1.191 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/1.156, allocations: 58 kB / 1.192 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/1.157, allocations: 84 kB / 1.192 GB, free: 12.51 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002051/1.159, allocations: 0.8741 MB / 1.192 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/1.159, allocations: 0 / 1.192 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.783e-05/1.159, allocations: 35.95 kB / 1.193 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.287e-05/1.159, allocations: 33.94 kB / 1.193 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001621/1.161, allocations: 0.8237 MB / 1.193 GB, free: 10.73 MB / 0.9512 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.006667/1.167, allocations: 3.643 MB / 1.197 GB, free: 6.805 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/1.169, allocations: 1.106 MB / 1.198 GB, free: 5.582 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006881/1.17, allocations: 379.4 kB / 1.198 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009288/1.171, allocations: 424.9 kB / 1.199 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/1.171, allocations: 39.12 kB / 1.199 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=60): time 5.52e-06/1.171, allocations: 0 / 1.199 GB, free: 4.676 MB / 0.9512 GB Notification: Performance of matching and sorting (n=60): time 0.002333/1.173, allocations: 0.9935 MB / 1.2 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.173, allocations: 55.97 kB / 1.2 GB, free: 3.609 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/1.174, allocations: 0.8282 MB / 1.201 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.937e-05/1.175, allocations: 41.7 kB / 1.201 GB, free: 2.711 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000422/1.175, allocations: 476.2 kB / 1.201 GB, free: 2.238 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002569/1.175, allocations: 212.9 kB / 1.201 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.368e-05/1.175, allocations: 12 kB / 1.201 GB, free: 2.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001538/1.175, allocations: 333.9 kB / 1.202 GB, free: 1.684 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004843/1.176, allocations: 253 kB / 1.202 GB, free: 1.434 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000605/1.177, allocations: 371.5 kB / 1.202 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005861/1.177, allocations: 306 kB / 1.203 GB, free: 0.7422 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/1.177, allocations: 4 kB / 1.203 GB, free: 0.7383 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001381/1.179, allocations: 0.7399 MB / 1.203 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 9.586e-05/1.179, allocations: 122.8 kB / 1.203 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.179, allocations: 0 / 1.203 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.017e-05/1.179, allocations: 4 kB / 1.203 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005806/1.179, allocations: 135.8 kB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/1.179, allocations: 8.094 kB / 1.204 GB, free: 15.71 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009438/1.18, allocations: 139.3 kB / 1.204 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.987e-05/1.18, allocations: 31.97 kB / 1.204 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.827e-06/1.18, allocations: 7.953 kB / 1.204 GB, free: 15.53 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001141/1.181, allocations: 0.6222 MB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/1.182, allocations: 0 / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.121e-06/1.182, allocations: 4 kB / 1.204 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/1.182, allocations: 127.9 kB / 1.204 GB, free: 14.78 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.385e-06/1.182, allocations: 12.03 kB / 1.204 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000828/1.183, allocations: 131.4 kB / 1.205 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-05/1.183, allocations: 20 kB / 1.205 GB, free: 14.62 MB / 0.9669 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.0006418/1.184, allocations: 380.9 kB / 1.205 GB, free: 14.24 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/1.184, allocations: 106.7 kB / 1.205 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/1.185, allocations: 0.7587 MB / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/1.185, allocations: 8 kB / 1.206 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.185, allocations: 3.938 kB / 1.206 GB, free: 13.35 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00132/1.187, allocations: 0.9229 MB / 1.207 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/1.191, allocations: 2.259 MB / 1.209 GB, free: 9.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/1.191, allocations: 4 kB / 1.209 GB, free: 9.941 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006685/1.192, allocations: 144.3 kB / 1.209 GB, free: 9.801 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.62e-05/1.192, allocations: 8 kB / 1.209 GB, free: 9.793 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.006e-05/1.192, allocations: 23.98 kB / 1.209 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.28e-05/1.192, allocations: 11.89 kB / 1.209 GB, free: 9.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/1.192, allocations: 4 kB / 1.209 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002213/1.194, allocations: 1.253 MB / 1.21 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/1.194, allocations: 267.6 kB / 1.211 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/1.195, allocations: 12 kB / 1.211 GB, free: 8.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007339/1.195, allocations: 97.55 kB / 1.211 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/1.195, allocations: 56.27 kB / 1.211 GB, free: 8.004 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.782e-05/1.195, allocations: 24 kB / 1.211 GB, free: 7.98 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008526/1.196, allocations: 0.5744 MB / 1.211 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.61e-07/1.196, allocations: 0 / 1.211 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.001522/1.198, allocations: 0.5377 MB / 1.212 GB, free: 6.855 MB / 0.9669 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.000633/1.198, allocations: 235.5 kB / 1.212 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00189/1.2, allocations: 0.9666 MB / 1.213 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/1.2, allocations: 0 / 1.213 GB, free: 5.656 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006194/1.201, allocations: 347.1 kB / 1.213 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.204, allocations: 0.6225 MB / 1.214 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004045/1.208, allocations: 2.707 MB / 1.217 GB, free: 1.922 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008663/1.209, allocations: 1.12 MB / 1.218 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002828/1.209, allocations: 83.44 kB / 1.218 GB, free: 0.6914 MB / 0.9669 GB Notification: Performance of SimCode: time 1.733e-06/1.209, allocations: 4 kB / 1.218 GB, free: 0.6875 MB / 0.9669 GB Notification: Performance of Templates: time 0.03055/1.24, allocations: 17.05 MB / 1.234 GB, free: 15.78 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f Buildings_9_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_9_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1