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.0009287/0.0009286, allocations: 98.97 kB / 15.71 MB, free: 452 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.001002/0.001002, allocations: 174.4 kB / 16.58 MB, free: 6.418 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.936/1.936, allocations: 205.4 MB / 222.8 MB, free: 5.629 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.887/1.887, allocations: 292.7 MB / 0.5505 GB, free: 14.56 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.0005704/0.0005705, allocations: 15.62 kB / 0.6743 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3251, allocations: 116.3 MB / 0.7879 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.FlowJunction): time 0.823/1.148, allocations: 218.8 MB / 1.002 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01233/1.16, allocations: 6.738 MB / 1.008 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002983/1.163, allocations: 38.91 kB / 1.008 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002648/1.166, allocations: 470.6 kB / 1.009 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006092/1.172, allocations: 1.523 MB / 1.01 GB, free: 9.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.005185/1.178, allocations: 1.456 MB / 1.012 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006453/1.184, allocations: 3.752 MB / 1.015 GB, free: 7.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001716/1.186, allocations: 0.8012 MB / 1.016 GB, free: 7.211 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004635/1.19, allocations: 1.437 MB / 1.017 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002251/1.193, allocations: 0.9041 MB / 1.018 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002007/1.193, allocations: 49.12 kB / 1.018 GB, free: 6.156 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0046/1.197, allocations: 1.394 MB / 1.02 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0005911/1.198, allocations: 385.6 kB / 1.02 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007413/1.199, allocations: 288.1 kB / 1.02 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003482/1.202, allocations: 1.786 MB / 1.022 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/1.202, allocations: 2.812 kB / 1.022 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.204e-06/1.202, allocations: 0 / 1.022 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.432e-05/1.202, allocations: 0 / 1.022 GB, free: 4.309 MB / 0.7325 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.00339/1.206, allocations: 1.48 MB / 1.024 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/1.206, allocations: 7.969 kB / 1.024 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002678/1.209, allocations: 423.7 kB / 1.024 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00202/1.211, allocations: 0.9248 MB / 1.025 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/1.211, allocations: 62.66 kB / 1.025 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/1.211, allocations: 83.47 kB / 1.025 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001676/1.212, allocations: 0.8626 MB / 1.026 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/1.213, allocations: 3.938 kB / 1.026 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.017e-05/1.213, allocations: 35.84 kB / 1.026 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.855e-05/1.213, allocations: 26.66 kB / 1.026 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00151/1.214, allocations: 0.8268 MB / 1.027 GB, free: 1.285 MB / 0.7325 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.005857/1.22, allocations: 3.645 MB / 1.03 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001746/1.222, allocations: 1.089 MB / 1.031 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006317/1.222, allocations: 389.8 kB / 1.032 GB, free: 13.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008186/1.223, allocations: 419.8 kB / 1.032 GB, free: 12.7 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.612e-05/1.223, allocations: 42.12 kB / 1.032 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=60): time 2.755e-06/1.223, allocations: 0 / 1.032 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60): time 0.002261/1.226, allocations: 0.9825 MB / 1.033 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/1.226, allocations: 57.91 kB / 1.033 GB, free: 12.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/1.227, allocations: 0.8186 MB / 1.034 GB, free: 11.64 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.474e-05/1.227, allocations: 38.36 kB / 1.034 GB, free: 11.6 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004277/1.227, allocations: 477.3 kB / 1.034 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002497/1.228, allocations: 219.7 kB / 1.035 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.455e-05/1.228, allocations: 18.97 kB / 1.035 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.228, allocations: 327.7 kB / 1.035 GB, free: 10.66 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004748/1.228, allocations: 245.3 kB / 1.035 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005936/1.229, allocations: 378 kB / 1.036 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/1.23, allocations: 305.1 kB / 1.036 GB, free: 10.15 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.23, allocations: 4 kB / 1.036 GB, free: 10.14 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001335/1.231, allocations: 0.7423 MB / 1.037 GB, free: 9.77 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001112/1.231, allocations: 119.8 kB / 1.037 GB, free: 9.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.717e-06/1.231, allocations: 10.94 kB / 1.037 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.305e-05/1.231, allocations: 3.062 kB / 1.037 GB, free: 9.633 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/1.232, allocations: 127.2 kB / 1.037 GB, free: 9.609 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.232, allocations: 6.953 kB / 1.037 GB, free: 9.605 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009621/1.233, allocations: 127.9 kB / 1.037 GB, free: 9.539 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-05/1.233, allocations: 28.45 kB / 1.037 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 5.921e-06/1.233, allocations: 2.938 kB / 1.037 GB, free: 9.527 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001137/1.234, allocations: 0.6124 MB / 1.038 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/1.234, allocations: 2.094 kB / 1.038 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.142e-06/1.234, allocations: 3.094 kB / 1.038 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000496/1.234, allocations: 142.4 kB / 1.038 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/1.234, allocations: 5.25 kB / 1.038 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008316/1.235, allocations: 126.5 kB / 1.038 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.36e-05/1.235, allocations: 20.34 kB / 1.038 GB, free: 9.125 MB / 0.7481 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.0005601/1.236, allocations: 384.1 kB / 1.038 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/1.236, allocations: 100.1 kB / 1.038 GB, free: 8.766 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001565/1.238, allocations: 0.7629 MB / 1.039 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.719e-06/1.238, allocations: 8.641 kB / 1.039 GB, free: 8.34 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/1.238, allocations: 7.984 kB / 1.039 GB, free: 8.332 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/1.239, allocations: 0.9168 MB / 1.04 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003641/1.243, allocations: 2.26 MB / 1.042 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.126e-06/1.243, allocations: 2.281 kB / 1.042 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006163/1.243, allocations: 145.9 kB / 1.042 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.007e-05/1.243, allocations: 9.812 kB / 1.042 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/1.243, allocations: 18.81 kB / 1.042 GB, free: 5.922 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.762e-05/1.243, allocations: 13.3 kB / 1.042 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/1.243, allocations: 2.625 kB / 1.042 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/1.245, allocations: 1.283 MB / 1.044 GB, free: 5.121 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/1.246, allocations: 260.8 kB / 1.044 GB, free: 4.863 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/1.246, allocations: 12 kB / 1.044 GB, free: 4.852 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007369/1.247, allocations: 111.7 kB / 1.044 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/1.247, allocations: 52.28 kB / 1.044 GB, free: 4.691 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.922e-05/1.247, allocations: 27.98 kB / 1.044 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008303/1.248, allocations: 0.5704 MB / 1.045 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/1.248, allocations: 4 kB / 1.045 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001552/1.249, allocations: 0.526 MB / 1.045 GB, free: 3.551 MB / 0.7481 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 (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.0006941/1.25, allocations: 250.1 kB / 1.045 GB, free: 3.305 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001969/1.252, allocations: 0.9627 MB / 1.046 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/1.252, allocations: 0 / 1.046 GB, free: 2.34 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0006448/1.253, allocations: 347 kB / 1.047 GB, free: 2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/1.256, allocations: 0.616 MB / 1.047 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004675/1.26, allocations: 2.681 MB / 1.05 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/1.261, allocations: 1.116 MB / 1.051 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003115/1.262, allocations: 87.42 kB / 1.051 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of SimCode: time 1.734e-06/1.262, allocations: 0 / 1.051 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of Templates: time 0.03307/1.295, allocations: 17.05 MB / 1.068 GB, free: 12.5 MB / 0.7794 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f Buildings_8_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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/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