Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0008638/0.0008638, allocations: 92.31 kB / 16.33 MB, free: 6.336 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.001022/0.001023, allocations: 186.1 kB / 17.23 MB, free: 6.242 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.603/1.603, allocations: 223.3 MB / 241.2 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7069/0.7069, allocations: 114.3 MB / 406.7 MB, free: 4.016 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 10.09 kB / 494.4 MB, free: 8.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.1946, allocations: 77.27 MB / 0.5583 GB, free: 10.99 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.6843/0.8789, allocations: 218.8 MB / 0.772 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0129/0.8919, allocations: 6.821 MB / 0.7786 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002103/0.8941, allocations: 47.69 kB / 0.7787 GB, free: 7.949 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001795/0.8959, allocations: 460.9 kB / 0.7791 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005028/0.9009, allocations: 1.532 MB / 0.7806 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004591/0.9055, allocations: 1.457 MB / 0.782 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005505/0.911, allocations: 3.775 MB / 0.7857 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001609/0.9127, allocations: 0.8074 MB / 0.7865 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/0.9171, allocations: 1.431 MB / 0.7879 GB, free: 14.47 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002087/0.9192, allocations: 0.9065 MB / 0.7888 GB, free: 13.56 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001872/0.9194, allocations: 48 kB / 0.7888 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004388/0.9238, allocations: 1.391 MB / 0.7902 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005945/0.9244, allocations: 382.7 kB / 0.7906 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006503/0.9251, allocations: 289 kB / 0.7908 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003044/0.9281, allocations: 1.789 MB / 0.7926 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.9281, allocations: 0 / 0.7926 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.455e-06/0.9281, allocations: 0 / 0.7926 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.863e-05/0.9282, allocations: 0 / 0.7926 GB, free: 9.664 MB / 0.6075 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.002725/0.9309, allocations: 1.496 MB / 0.7941 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.931, allocations: 8.031 kB / 0.7941 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002544/0.9335, allocations: 425.9 kB / 0.7945 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001771/0.9353, allocations: 0.9218 MB / 0.7954 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.762e-05/0.9354, allocations: 69.95 kB / 0.7954 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001395/0.9355, allocations: 80 kB / 0.7955 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/0.9372, allocations: 0.8663 MB / 0.7964 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/0.9372, allocations: 0 / 0.7964 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.86e-05/0.9373, allocations: 36 kB / 0.7964 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.598e-05/0.9373, allocations: 30 kB / 0.7964 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00149/0.9388, allocations: 0.8237 MB / 0.7972 GB, free: 4.816 MB / 0.6075 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.005137/0.944, allocations: 3.654 MB / 0.8008 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/0.9456, allocations: 1.1 MB / 0.8019 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006087/0.9462, allocations: 376.1 kB / 0.8022 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000688/0.9469, allocations: 420.9 kB / 0.8026 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/0.947, allocations: 39.12 kB / 0.8027 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=60): time 2.615e-06/0.947, allocations: 0 / 0.8027 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of matching and sorting (n=60): time 0.002176/0.9492, allocations: 0.9819 MB / 0.8036 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.9493, allocations: 67.86 kB / 0.8037 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.9504, allocations: 0.8282 MB / 0.8045 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.515e-05/0.9505, allocations: 37.7 kB / 0.8045 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004644/0.951, allocations: 480.2 kB / 0.805 GB, free: 12.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/0.9512, allocations: 216.8 kB / 0.8052 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.9513, allocations: 12 kB / 0.8052 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.9514, allocations: 330 kB / 0.8055 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004691/0.9519, allocations: 257 kB / 0.8058 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005534/0.9525, allocations: 371.5 kB / 0.8061 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005271/0.953, allocations: 302 kB / 0.8064 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.953, allocations: 0 / 0.8064 GB, free: 10.83 MB / 0.6231 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001426/0.9545, allocations: 0.7477 MB / 0.8071 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.9546, allocations: 122.6 kB / 0.8073 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.9546, allocations: 3.953 kB / 0.8073 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.9546, allocations: 4.094 kB / 0.8073 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005562/0.9552, allocations: 139.9 kB / 0.8074 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.9552, allocations: 11.92 kB / 0.8074 GB, free: 9.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009366/0.9561, allocations: 123.4 kB / 0.8075 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/0.9562, allocations: 24.86 kB / 0.8075 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.047e-06/0.9562, allocations: 6.031 kB / 0.8076 GB, free: 9.633 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00111/0.9573, allocations: 0.6222 MB / 0.8082 GB, free: 9.008 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.9574, allocations: 8.125 kB / 0.8082 GB, free: 9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.905e-06/0.9574, allocations: 7.938 kB / 0.8082 GB, free: 8.992 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005077/0.9579, allocations: 127.8 kB / 0.8083 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.9579, allocations: 4 kB / 0.8083 GB, free: 8.863 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008883/0.9588, allocations: 139.3 kB / 0.8084 GB, free: 8.727 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.315e-05/0.9588, allocations: 23.31 kB / 0.8085 GB, free: 8.707 MB / 0.6231 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.0006447/0.9595, allocations: 388.5 kB / 0.8088 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.9597, allocations: 106.8 kB / 0.8089 GB, free: 8.215 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001419/0.9611, allocations: 0.7588 MB / 0.8097 GB, free: 7.453 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.9611, allocations: 4 kB / 0.8097 GB, free: 7.449 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9611, allocations: 4 kB / 0.8097 GB, free: 7.445 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001251/0.9624, allocations: 0.9151 MB / 0.8106 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003571/0.966, allocations: 2.271 MB / 0.8128 GB, free: 4.039 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.717e-06/0.966, allocations: 11.92 kB / 0.8128 GB, free: 4.027 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006329/0.9666, allocations: 135.8 kB / 0.8129 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.256e-05/0.9666, allocations: 8 kB / 0.8129 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.802e-05/0.9667, allocations: 19.98 kB / 0.813 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-05/0.9667, allocations: 8.812 kB / 0.813 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.9667, allocations: 4.188 kB / 0.813 GB, free: 3.855 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002043/0.9688, allocations: 1.26 MB / 0.8142 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006718/0.9695, allocations: 255.8 kB / 0.8144 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.9696, allocations: 20 kB / 0.8145 GB, free: 2.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007708/0.9704, allocations: 103.8 kB / 0.8146 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/0.9705, allocations: 48.39 kB / 0.8146 GB, free: 2.102 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.865e-05/0.9705, allocations: 24 kB / 0.8146 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009287/0.9715, allocations: 0.5784 MB / 0.8152 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9715, allocations: 4 kB / 0.8152 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001571/0.9731, allocations: 0.5338 MB / 0.8157 GB, free: 0.9492 MB / 0.6231 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.0007246/0.9738, allocations: 242.2 kB / 0.816 GB, free: 0.7109 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.4963/1.47, allocations: 0.9584 MB / 0.8169 GB, free: 52.73 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.696e-05/1.47, allocations: 0.9062 kB / 0.8169 GB, free: 52.73 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.471, allocations: 350.6 kB / 0.8172 GB, free: 52.73 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00457/1.476, allocations: 0.6159 MB / 0.8178 GB, free: 52.72 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004866/1.481, allocations: 2.697 MB / 0.8205 GB, free: 51.41 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001044/1.482, allocations: 1.118 MB / 0.8216 GB, free: 50.69 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/1.482, allocations: 87.41 kB / 0.8216 GB, free: 50.68 MB / 0.6231 GB Notification: Performance of SimCode: time 2.284e-06/1.482, allocations: 0 / 0.8216 GB, free: 50.68 MB / 0.6231 GB Notification: Performance of Templates: time 0.03972/1.522, allocations: 17.04 MB / 0.8383 GB, free: 49.29 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f IBPSA_latest_IBPSA.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 OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1