Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction") translateModel(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.00119/0.00119, allocations: 102.7 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.001056/0.001056, allocations: 177 kB / 16.58 MB, free: 6.859 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.562/1.562, allocations: 223.2 MB / 240.6 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.068/1.068, allocations: 143.4 MB / 435.1 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000403/0.0004031, allocations: 16 kB / 0.5166 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.2405, allocations: 83.41 MB / 0.5981 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.7357/0.9762, allocations: 219 MB / 0.8119 GB, free: 1.105 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0158/0.992, allocations: 6.828 MB / 0.8186 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002423/0.9945, allocations: 43.69 kB / 0.8186 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00266/0.9972, allocations: 464.9 kB / 0.819 GB, free: 9.77 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006915/1.004, allocations: 1.534 MB / 0.8205 GB, free: 8.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006415/1.011, allocations: 1.448 MB / 0.822 GB, free: 6.793 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007446/1.018, allocations: 3.775 MB / 0.8256 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00213/1.02, allocations: 0.8063 MB / 0.8264 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005221/1.025, allocations: 1.431 MB / 0.8278 GB, free: 0.7539 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002489/1.028, allocations: 0.9182 MB / 0.8287 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001974/1.028, allocations: 48 kB / 0.8288 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00523/1.033, allocations: 1.387 MB / 0.8301 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007409/1.034, allocations: 386.8 kB / 0.8305 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0007346/1.035, allocations: 285.1 kB / 0.8308 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003921/1.039, allocations: 1.882 MB / 0.8326 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.039, allocations: 0 / 0.8326 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.214e-06/1.039, allocations: 0 / 0.8326 GB, free: 11.84 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.184e-05/1.039, allocations: 0 / 0.8326 GB, free: 11.84 MB / 0.6544 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.003693/1.043, allocations: 1.495 MB / 0.8341 GB, free: 10.3 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/1.043, allocations: 8.031 kB / 0.8341 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003587/1.046, allocations: 422 kB / 0.8345 GB, free: 9.879 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/1.049, allocations: 0.9334 MB / 0.8354 GB, free: 8.902 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.456e-05/1.049, allocations: 62 kB / 0.8354 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/1.049, allocations: 84.81 kB / 0.8355 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001609/1.05, allocations: 0.874 MB / 0.8364 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/1.05, allocations: 0 / 0.8364 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.564e-05/1.051, allocations: 32 kB / 0.8364 GB, free: 7.848 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.864e-05/1.051, allocations: 30 kB / 0.8364 GB, free: 7.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/1.052, allocations: 0.8237 MB / 0.8372 GB, free: 6.992 MB / 0.6544 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.004668/1.057, allocations: 3.643 MB / 0.8408 GB, free: 3.062 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/1.058, allocations: 1.102 MB / 0.8419 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005798/1.059, allocations: 375.5 kB / 0.8422 GB, free: 1.48 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006599/1.059, allocations: 428.8 kB / 0.8426 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/1.059, allocations: 42.69 kB / 0.8427 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.455e-06/1.059, allocations: 0 / 0.8427 GB, free: 0.9414 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.002018/1.062, allocations: 0.9857 MB / 0.8436 GB, free: 15.95 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/1.062, allocations: 59.97 kB / 0.8437 GB, free: 15.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/1.063, allocations: 0.8321 MB / 0.8445 GB, free: 15.02 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/1.063, allocations: 37.7 kB / 0.8445 GB, free: 14.98 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003416/1.063, allocations: 480.1 kB / 0.845 GB, free: 14.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001837/1.063, allocations: 216.9 kB / 0.8452 GB, free: 14.29 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.002e-05/1.063, allocations: 11.94 kB / 0.8452 GB, free: 14.28 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000113/1.063, allocations: 334 kB / 0.8455 GB, free: 13.95 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004434/1.064, allocations: 245 kB / 0.8458 GB, free: 13.71 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005475/1.064, allocations: 375.9 kB / 0.8461 GB, free: 13.3 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00051/1.065, allocations: 302.1 kB / 0.8464 GB, free: 13.02 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/1.065, allocations: 0 / 0.8464 GB, free: 13.02 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001265/1.066, allocations: 0.7477 MB / 0.8472 GB, free: 12.26 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/1.066, allocations: 127.2 kB / 0.8473 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.066, allocations: 0 / 0.8473 GB, free: 12.12 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/1.066, allocations: 4 kB / 0.8473 GB, free: 12.11 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005579/1.067, allocations: 135.8 kB / 0.8474 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.067, allocations: 4 kB / 0.8474 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008623/1.068, allocations: 135.3 kB / 0.8475 GB, free: 11.84 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.715e-05/1.068, allocations: 24 kB / 0.8476 GB, free: 11.82 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-06/1.068, allocations: 4 kB / 0.8476 GB, free: 11.82 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001088/1.069, allocations: 0.6222 MB / 0.8482 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/1.069, allocations: 4 kB / 0.8482 GB, free: 11.19 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.092e-06/1.069, allocations: 8.125 kB / 0.8482 GB, free: 11.18 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005144/1.069, allocations: 131.8 kB / 0.8483 GB, free: 11.05 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/1.069, allocations: 7.953 kB / 0.8483 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007762/1.07, allocations: 127.4 kB / 0.8484 GB, free: 10.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/1.07, allocations: 23.98 kB / 0.8485 GB, free: 10.89 MB / 0.67 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.0005387/1.071, allocations: 384.9 kB / 0.8488 GB, free: 10.51 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001347/1.071, allocations: 106.8 kB / 0.8489 GB, free: 10.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001376/1.072, allocations: 0.7599 MB / 0.8497 GB, free: 9.637 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.097e-06/1.072, allocations: 8 kB / 0.8497 GB, free: 9.629 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.072, allocations: 3.953 kB / 0.8497 GB, free: 9.625 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001172/1.074, allocations: 0.9267 MB / 0.8506 GB, free: 8.617 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/1.077, allocations: 2.259 MB / 0.8528 GB, free: 6.219 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/1.077, allocations: 4 kB / 0.8528 GB, free: 6.215 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006284/1.078, allocations: 147.7 kB / 0.8529 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.377e-05/1.078, allocations: 11.94 kB / 0.853 GB, free: 6.062 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/1.078, allocations: 19.98 kB / 0.853 GB, free: 6.043 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.842e-06/1.078, allocations: 4 kB / 0.853 GB, free: 6.039 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.078, allocations: 4 kB / 0.853 GB, free: 6.035 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001813/1.079, allocations: 1.264 MB / 0.8542 GB, free: 4.715 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004096/1.08, allocations: 255.8 kB / 0.8545 GB, free: 4.445 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001192/1.08, allocations: 15.98 kB / 0.8545 GB, free: 4.43 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007228/1.081, allocations: 103.8 kB / 0.8546 GB, free: 4.328 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/1.081, allocations: 48.33 kB / 0.8546 GB, free: 4.281 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.477e-05/1.081, allocations: 24 kB / 0.8546 GB, free: 4.258 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007711/1.082, allocations: 0.5744 MB / 0.8552 GB, free: 3.672 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/1.082, allocations: 0 / 0.8552 GB, free: 3.672 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001321/1.083, allocations: 0.5377 MB / 0.8557 GB, free: 3.133 MB / 0.67 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.0005372/1.084, allocations: 251.3 kB / 0.856 GB, free: 2.891 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001702/1.085, allocations: 0.9546 MB / 0.8569 GB, free: 1.934 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.609e-06/1.085, allocations: 4.312 kB / 0.8569 GB, free: 1.93 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0005608/1.086, allocations: 354.2 kB / 0.8572 GB, free: 1.586 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/1.088, allocations: 0.6233 MB / 0.8578 GB, free: 0.9766 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3589/1.447, allocations: 2.697 MB / 0.8605 GB, free: 208.8 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/1.448, allocations: 1.124 MB / 0.8616 GB, free: 208.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/1.448, allocations: 83.83 kB / 0.8617 GB, free: 208.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.041e-06/1.448, allocations: 0 / 0.8617 GB, free: 208.1 MB / 0.67 GB Notification: Performance of Templates: time 0.0266/1.475, allocations: 17.1 MB / 0.8784 GB, free: 207.1 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f BuildSysPro_BuildSysPro.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 OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1