Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.0008086/0.0008087, allocations: 91.53 kB / 16.02 MB, free: 80 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.0008964/0.0008965, allocations: 178.7 kB / 16.92 MB, free: 6.652 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.364/1.364, allocations: 223.2 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7259/0.7259, allocations: 132.3 MB / 424.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003156/0.0003155, allocations: 12 kB / 0.5046 GB, free: 3.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3936, allocations: 81.58 MB / 0.5843 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2426/0.6362, allocations: 234.5 MB / 0.8133 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.4756/1.112, allocations: 7.204 MB / 0.8204 GB, free: 20.02 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002052/1.114, allocations: 46.34 kB / 0.8204 GB, free: 20.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002089/1.116, allocations: 0.5761 MB / 0.821 GB, free: 20.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006614/1.123, allocations: 1.952 MB / 0.8229 GB, free: 20 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005681/1.128, allocations: 1.867 MB / 0.8247 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0071/1.136, allocations: 4.423 MB / 0.829 GB, free: 19.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/1.137, allocations: 0.916 MB / 0.8299 GB, free: 19.86 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004746/1.142, allocations: 1.566 MB / 0.8314 GB, free: 19.84 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002893/1.145, allocations: 0.9589 MB / 0.8324 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002355/1.145, allocations: 49.56 kB / 0.8324 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007128/1.152, allocations: 2.825 MB / 0.8352 GB, free: 19.81 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009171/1.153, allocations: 385 kB / 0.8356 GB, free: 19.81 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001612/1.155, allocations: 0.6569 MB / 0.8362 GB, free: 19.78 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004181/1.159, allocations: 1.946 MB / 0.8381 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/1.159, allocations: 1.062 kB / 0.8381 GB, free: 19.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.226e-06/1.159, allocations: 4 kB / 0.8381 GB, free: 19.63 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.164e-05/1.159, allocations: 0 / 0.8381 GB, free: 19.63 MB / 0.6387 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.00304/1.162, allocations: 1.473 MB / 0.8395 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/1.162, allocations: 8.281 kB / 0.8395 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002552/1.165, allocations: 419.2 kB / 0.8399 GB, free: 18.69 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/1.166, allocations: 0.9723 MB / 0.8409 GB, free: 18.34 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.904e-05/1.167, allocations: 62.66 kB / 0.841 GB, free: 18.34 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/1.167, allocations: 84.5 kB / 0.841 GB, free: 18.34 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001491/1.168, allocations: 0.8758 MB / 0.8419 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/1.168, allocations: 0.8125 kB / 0.8419 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-05/1.168, allocations: 32.09 kB / 0.8419 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.539e-05/1.168, allocations: 28.06 kB / 0.842 GB, free: 18.27 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001356/1.17, allocations: 0.8268 MB / 0.8428 GB, free: 18.26 MB / 0.6387 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.00421/1.174, allocations: 3.635 MB / 0.8463 GB, free: 16.65 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001255/1.175, allocations: 1.109 MB / 0.8474 GB, free: 16.05 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005683/1.176, allocations: 379.5 kB / 0.8478 GB, free: 16.04 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/1.176, allocations: 419 kB / 0.8482 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/1.176, allocations: 44.3 kB / 0.8482 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.855e-06/1.176, allocations: 4 kB / 0.8482 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002113/1.179, allocations: 0.9912 MB / 0.8492 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/1.179, allocations: 62.86 kB / 0.8492 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/1.18, allocations: 0.8373 MB / 0.85 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/1.18, allocations: 39 kB / 0.8501 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/1.18, allocations: 479.4 kB / 0.8505 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/1.18, allocations: 214.3 kB / 0.8507 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.765e-05/1.18, allocations: 51.59 kB / 0.8508 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.116e-05/1.18, allocations: 331.2 kB / 0.8511 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004395/1.181, allocations: 259.4 kB / 0.8514 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005436/1.181, allocations: 387.3 kB / 0.8517 GB, free: 14.53 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009374/1.182, allocations: 0.6116 MB / 0.8523 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/1.182, allocations: 1.859 kB / 0.8523 GB, free: 14.47 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001179/1.183, allocations: 0.7507 MB / 0.8531 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.235e-05/1.184, allocations: 130.9 kB / 0.8532 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/1.184, allocations: 4.844 kB / 0.8532 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/1.184, allocations: 2.812 kB / 0.8532 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005436/1.184, allocations: 132.2 kB / 0.8533 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.184, allocations: 5.156 kB / 0.8533 GB, free: 14.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009827/1.185, allocations: 123 kB / 0.8534 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.005e-05/1.185, allocations: 25.66 kB / 0.8535 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.771e-06/1.185, allocations: 1.781 kB / 0.8535 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001018/1.186, allocations: 0.6243 MB / 0.8541 GB, free: 14.19 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/1.186, allocations: 6.609 kB / 0.8541 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.34e-06/1.186, allocations: 8.156 kB / 0.8541 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004861/1.187, allocations: 132 kB / 0.8542 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/1.187, allocations: 8.969 kB / 0.8542 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008283/1.188, allocations: 126 kB / 0.8543 GB, free: 14.14 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.951e-05/1.188, allocations: 25 kB / 0.8544 GB, free: 14.14 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004887/1.188, allocations: 378.3 kB / 0.8547 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/1.188, allocations: 100.9 kB / 0.8548 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001295/1.19, allocations: 0.7614 MB / 0.8556 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/1.19, allocations: 9.062 kB / 0.8556 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.19, allocations: 4 kB / 0.8556 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009938/1.191, allocations: 0.9275 MB / 0.8565 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003033/1.194, allocations: 2.263 MB / 0.8587 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/1.194, allocations: 2.188 kB / 0.8587 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005983/1.194, allocations: 150.1 kB / 0.8588 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/1.194, allocations: 6.125 kB / 0.8588 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.231e-05/1.194, allocations: 15.69 kB / 0.8589 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.054e-06/1.194, allocations: 9.469 kB / 0.8589 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.194, allocations: 6.031 kB / 0.8589 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001821/1.196, allocations: 1.293 MB / 0.8601 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004623/1.197, allocations: 259.7 kB / 0.8604 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/1.197, allocations: 15.73 kB / 0.8604 GB, free: 12.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/1.198, allocations: 105.3 kB / 0.8605 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001258/1.198, allocations: 50.42 kB / 0.8606 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.811e-05/1.198, allocations: 24.8 kB / 0.8606 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008655/1.199, allocations: 0.5858 MB / 0.8611 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.3e-07/1.199, allocations: 0 / 0.8611 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001675/1.2, allocations: 0.5276 MB / 0.8617 GB, free: 12.02 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005845/1.201, allocations: 249.9 kB / 0.8619 GB, free: 11.91 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001694/1.203, allocations: 0.9687 MB / 0.8628 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.203, allocations: 1.859 kB / 0.8628 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000551/1.203, allocations: 361.4 kB / 0.8632 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/1.207, allocations: 0.6109 MB / 0.8638 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/1.21, allocations: 2.713 MB / 0.8664 GB, free: 10.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000697/1.211, allocations: 1.124 MB / 0.8675 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/1.211, allocations: 84.75 kB / 0.8676 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of SimCode: time 7.01e-07/1.211, allocations: 0 / 0.8676 GB, free: 9.578 MB / 0.6387 GB Notification: Performance of Templates: time 0.02463/1.235, allocations: 17.1 MB / 0.8843 GB, free: 2.547 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunctionCalcHelperMain.o] Error 1