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.0009736/0.0009736, allocations: 100.1 kB / 15.88 MB, free: 4 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.001035/0.001035, allocations: 200.2 kB / 16.8 MB, free: 6.82 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.755/0.755, allocations: 132.2 MB / 422.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001038/0.001038, allocations: 59.25 kB / 0.5017 GB, free: 4.344 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4087, allocations: 80.21 MB / 0.58 GB, free: 4.551 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2321/0.6409, allocations: 237.7 MB / 0.8122 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3721/1.013, allocations: 7.276 MB / 0.8193 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001736/1.015, allocations: 48.09 kB / 0.8193 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001907/1.017, allocations: 0.5787 MB / 0.8199 GB, free: 19.97 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005563/1.022, allocations: 1.951 MB / 0.8218 GB, free: 19.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00466/1.027, allocations: 1.86 MB / 0.8236 GB, free: 19.84 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005527/1.032, allocations: 4.431 MB / 0.828 GB, free: 19.83 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001677/1.034, allocations: 0.9384 MB / 0.8289 GB, free: 19.74 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004196/1.038, allocations: 1.594 MB / 0.8304 GB, free: 19.72 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/1.041, allocations: 0.9942 MB / 0.8314 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000247/1.041, allocations: 61.44 kB / 0.8315 GB, free: 19.71 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005665/1.047, allocations: 2.835 MB / 0.8342 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006019/1.048, allocations: 402.3 kB / 0.8346 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001277/1.049, allocations: 0.6645 MB / 0.8353 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002719/1.052, allocations: 1.972 MB / 0.8372 GB, free: 19.55 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/1.052, allocations: 9.312 kB / 0.8372 GB, free: 19.54 MB / 0.6387 GB Notification: Performance of FrontEnd: time 6.71e-07/1.052, allocations: 0 / 0.8372 GB, free: 19.54 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.317e-05/1.052, allocations: 0 / 0.8372 GB, free: 19.54 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.002342/1.054, allocations: 1.704 MB / 0.8389 GB, free: 18.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.643e-05/1.054, allocations: 10.75 kB / 0.8389 GB, free: 18.64 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/1.056, allocations: 426.8 kB / 0.8393 GB, free: 18.57 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/1.058, allocations: 0.9675 MB / 0.8402 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.986e-05/1.058, allocations: 66.78 kB / 0.8403 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/1.058, allocations: 78.16 kB / 0.8404 GB, free: 18.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/1.059, allocations: 0.8658 MB / 0.8412 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/1.059, allocations: 2.625 kB / 0.8412 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.181e-05/1.059, allocations: 32.53 kB / 0.8412 GB, free: 18.15 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.215e-05/1.059, allocations: 31.59 kB / 0.8413 GB, free: 18.14 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/1.061, allocations: 0.8043 MB / 0.842 GB, free: 18.14 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.003741/1.064, allocations: 3.624 MB / 0.8456 GB, free: 16.52 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/1.066, allocations: 1.093 MB / 0.8467 GB, free: 15.93 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004925/1.066, allocations: 372.8 kB / 0.847 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006687/1.067, allocations: 403.5 kB / 0.8474 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.135e-05/1.067, allocations: 45.72 kB / 0.8474 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 2.885e-06/1.067, allocations: 0 / 0.8474 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002105/1.069, allocations: 0.958 MB / 0.8484 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/1.069, allocations: 60.53 kB / 0.8484 GB, free: 15.33 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009549/1.07, allocations: 0.8374 MB / 0.8492 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-05/1.07, allocations: 41.05 kB / 0.8493 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003168/1.07, allocations: 483.2 kB / 0.8497 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001551/1.071, allocations: 209.9 kB / 0.8499 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001743/1.071, allocations: 115.7 kB / 0.8501 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.077e-05/1.071, allocations: 322.4 kB / 0.8504 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004333/1.071, allocations: 256.3 kB / 0.8506 GB, free: 14.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005223/1.072, allocations: 375.8 kB / 0.851 GB, free: 14.4 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008944/1.073, allocations: 0.5902 MB / 0.8515 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.073, allocations: 0 / 0.8515 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001165/1.074, allocations: 0.7289 MB / 0.8523 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/1.074, allocations: 9.188 kB / 0.8523 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.074, allocations: 4.859 kB / 0.8523 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/1.074, allocations: 8.719 kB / 0.8523 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/1.074, allocations: 124.9 kB / 0.8524 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/1.074, allocations: 3.672 kB / 0.8524 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008637/1.075, allocations: 119.8 kB / 0.8525 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/1.075, allocations: 21.06 kB / 0.8525 GB, free: 14.21 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007022/1.076, allocations: 0.4922 MB / 0.853 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004777/1.077, allocations: 367.8 kB / 0.8534 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008487/1.077, allocations: 0.5815 MB / 0.8539 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.855e-06/1.077, allocations: 0 / 0.8539 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001045/1.079, allocations: 0.7283 MB / 0.8546 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.955e-06/1.079, allocations: 2.781 kB / 0.8546 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.397e-06/1.079, allocations: 2.094 kB / 0.8547 GB, free: 13.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.22e-06/1.079, allocations: 10.5 kB / 0.8547 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/1.079, allocations: 124.9 kB / 0.8548 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/1.079, allocations: 3.047 kB / 0.8548 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008396/1.08, allocations: 121.8 kB / 0.8549 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.133e-05/1.08, allocations: 23.62 kB / 0.8549 GB, free: 13.83 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.0001539/1.08, allocations: 213.4 kB / 0.8551 GB, free: 13.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/1.08, allocations: 99.48 kB / 0.8552 GB, free: 13.6 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001214/1.081, allocations: 0.7402 MB / 0.8559 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/1.082, allocations: 8.875 kB / 0.856 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/1.082, allocations: 2.625 kB / 0.856 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009344/1.082, allocations: 0.8983 MB / 0.8568 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/1.085, allocations: 2.244 MB / 0.859 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/1.085, allocations: 4.875 kB / 0.859 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005917/1.086, allocations: 135.1 kB / 0.8592 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/1.086, allocations: 10.69 kB / 0.8592 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.291e-05/1.086, allocations: 23.53 kB / 0.8592 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.552e-06/1.086, allocations: 9.109 kB / 0.8592 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/1.086, allocations: 6.281 kB / 0.8592 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/1.088, allocations: 1.254 MB / 0.8604 GB, free: 12.09 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/1.088, allocations: 261.6 kB / 0.8607 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/1.088, allocations: 19.03 kB / 0.8607 GB, free: 11.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000739/1.089, allocations: 95.02 kB / 0.8608 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/1.089, allocations: 46.81 kB / 0.8608 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-05/1.089, allocations: 24.97 kB / 0.8609 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006887/1.09, allocations: 0.5923 MB / 0.8614 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.09, allocations: 1.203 kB / 0.8614 GB, free: 11.8 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001374/1.091, allocations: 0.5335 MB / 0.862 GB, free: 11.73 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.0005838/1.092, allocations: 247.9 kB / 0.8622 GB, free: 11.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001793/1.093, allocations: 0.9317 MB / 0.8631 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/1.094, allocations: 4.062 kB / 0.8631 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005683/1.094, allocations: 343 kB / 0.8634 GB, free: 11.59 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002728/1.097, allocations: 0.6111 MB / 0.864 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/1.1, allocations: 2.607 MB / 0.8666 GB, free: 10.04 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/1.1, allocations: 1.119 MB / 0.8677 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/1.101, allocations: 86.91 kB / 0.8678 GB, free: 9.32 MB / 0.6387 GB Notification: Performance of SimCode: time 8.22e-07/1.101, allocations: 4 kB / 0.8678 GB, free: 9.316 MB / 0.6387 GB Notification: Performance of Templates: time 0.02228/1.123, allocations: 17.25 MB / 0.8846 GB, free: 2.297 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