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.0009523/0.0009527, allocations: 100.5 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.00137/0.00137, allocations: 175.4 kB / 16.58 MB, free: 6.422 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.504/1.504, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7662/0.7662, allocations: 132.3 MB / 424 MB, free: 2.094 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 8 kB / 0.504 GB, free: 4.277 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5081, allocations: 81.57 MB / 0.5837 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.2669/0.775, allocations: 218.8 MB / 0.7974 GB, free: 5.195 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0123/0.7874, allocations: 6.801 MB / 0.804 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001892/0.7893, allocations: 47.62 kB / 0.804 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/0.791, allocations: 461 kB / 0.8045 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.005115/0.7961, allocations: 1.538 MB / 0.806 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00642/0.8026, allocations: 1.458 MB / 0.8074 GB, free: 10.9 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.005931/0.8085, allocations: 3.756 MB / 0.8111 GB, free: 7.133 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001518/0.8101, allocations: 0.812 MB / 0.8119 GB, free: 6.301 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003774/0.8138, allocations: 1.439 MB / 0.8133 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001717/0.8156, allocations: 0.9143 MB / 0.8142 GB, free: 3.938 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001288/0.8157, allocations: 51.98 kB / 0.8142 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003741/0.8195, allocations: 1.384 MB / 0.8156 GB, free: 2.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004789/0.82, allocations: 378.7 kB / 0.8159 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0005125/0.8205, allocations: 289.1 kB / 0.8162 GB, free: 1.84 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002603/0.8231, allocations: 1.785 MB / 0.8179 GB, free: 52 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.8231, allocations: 3.938 kB / 0.818 GB, free: 48 kB / 0.6387 GB Notification: Performance of FrontEnd: time 4.278e-06/0.8231, allocations: 0 / 0.818 GB, free: 48 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.564e-05/0.8231, allocations: 3.938 kB / 0.818 GB, free: 44 kB / 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.3968/1.22, allocations: 1.485 MB / 0.8194 GB, free: 222.6 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/1.22, allocations: 9.875 kB / 0.8194 GB, free: 222.6 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003087/1.223, allocations: 425.8 kB / 0.8198 GB, free: 222.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002156/1.225, allocations: 0.9272 MB / 0.8207 GB, free: 222 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.149e-05/1.225, allocations: 64.84 kB / 0.8208 GB, free: 222 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/1.226, allocations: 81.09 kB / 0.8209 GB, free: 222 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/1.228, allocations: 0.8695 MB / 0.8217 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.33e-05/1.228, allocations: 0.75 kB / 0.8217 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.577e-05/1.228, allocations: 31.16 kB / 0.8217 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.434e-05/1.228, allocations: 28.25 kB / 0.8218 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001794/1.229, allocations: 0.8255 MB / 0.8226 GB, free: 221.3 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.005893/1.235, allocations: 3.643 MB / 0.8261 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/1.237, allocations: 1.092 MB / 0.8272 GB, free: 218.1 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007338/1.238, allocations: 376.6 kB / 0.8276 GB, free: 218 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007496/1.239, allocations: 423 kB / 0.828 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/1.239, allocations: 39.52 kB / 0.828 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=60): time 3.096e-06/1.239, allocations: 2.688 kB / 0.828 GB, free: 217.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=60): time 0.002523/1.241, allocations: 0.9845 MB / 0.829 GB, free: 217.2 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/1.241, allocations: 63.12 kB / 0.829 GB, free: 217.1 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/1.243, allocations: 0.833 MB / 0.8298 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.324e-05/1.243, allocations: 40.98 kB / 0.8299 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003741/1.243, allocations: 475.5 kB / 0.8303 GB, free: 216.4 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/1.243, allocations: 217.3 kB / 0.8305 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.038e-05/1.243, allocations: 15.94 kB / 0.8306 GB, free: 216.2 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 9.407e-05/1.243, allocations: 326.7 kB / 0.8309 GB, free: 215.9 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/1.244, allocations: 249.8 kB / 0.8311 GB, free: 215.8 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006094/1.244, allocations: 375.6 kB / 0.8315 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/1.245, allocations: 307.4 kB / 0.8318 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/1.245, allocations: 0 / 0.8318 GB, free: 215.5 MB / 0.6387 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001368/1.246, allocations: 0.7419 MB / 0.8325 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/1.246, allocations: 125.8 kB / 0.8326 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/1.247, allocations: 3.125 kB / 0.8326 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/1.247, allocations: 3.812 kB / 0.8326 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005676/1.247, allocations: 131.8 kB / 0.8327 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/1.247, allocations: 7.812 kB / 0.8327 GB, free: 215.1 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.248, allocations: 127.1 kB / 0.8329 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.243e-05/1.248, allocations: 24.8 kB / 0.8329 GB, free: 215 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/1.248, allocations: 3.594 kB / 0.8329 GB, free: 215 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001181/1.249, allocations: 0.6175 MB / 0.8335 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.236e-06/1.249, allocations: 1.281 kB / 0.8335 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.805e-06/1.249, allocations: 4.438 kB / 0.8335 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000525/1.25, allocations: 132.3 kB / 0.8336 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/1.25, allocations: 11.86 kB / 0.8336 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009984/1.251, allocations: 127.3 kB / 0.8338 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.996e-05/1.251, allocations: 20.25 kB / 0.8338 GB, free: 214.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005828/1.252, allocations: 375.2 kB / 0.8341 GB, free: 214.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/1.252, allocations: 105 kB / 0.8342 GB, free: 214.4 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001434/1.253, allocations: 0.7674 MB / 0.835 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/1.253, allocations: 8.281 kB / 0.835 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.253, allocations: 3.953 kB / 0.835 GB, free: 214 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001139/1.254, allocations: 0.9202 MB / 0.8359 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/1.258, allocations: 2.259 MB / 0.8381 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/1.258, allocations: 2.5 kB / 0.8381 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006418/1.258, allocations: 138.5 kB / 0.8382 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.149e-05/1.259, allocations: 5.75 kB / 0.8382 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.839e-05/1.259, allocations: 24.86 kB / 0.8383 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.053e-05/1.259, allocations: 14 kB / 0.8383 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/1.259, allocations: 3.438 kB / 0.8383 GB, free: 211.6 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/1.26, allocations: 1.28 MB / 0.8395 GB, free: 210.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004673/1.261, allocations: 265 kB / 0.8398 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.261, allocations: 19.56 kB / 0.8398 GB, free: 210.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007791/1.262, allocations: 106.2 kB / 0.8399 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.262, allocations: 45.81 kB / 0.8399 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-05/1.262, allocations: 24.98 kB / 0.84 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008411/1.263, allocations: 0.5802 MB / 0.8405 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.263, allocations: 0 / 0.8405 GB, free: 210.1 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001922/1.265, allocations: 0.5318 MB / 0.8411 GB, free: 210 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 (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.0006036/1.265, allocations: 243.8 kB / 0.8413 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001912/1.267, allocations: 0.9527 MB / 0.8422 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.132e-06/1.267, allocations: 1 kB / 0.8422 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0006057/1.268, allocations: 358.4 kB / 0.8426 GB, free: 209.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002844/1.271, allocations: 0.6218 MB / 0.8432 GB, free: 209 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/1.275, allocations: 2.677 MB / 0.8458 GB, free: 207.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006572/1.275, allocations: 1.122 MB / 0.8469 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003159/1.276, allocations: 85.08 kB / 0.847 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.153e-06/1.276, allocations: 0 / 0.847 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.02332/1.299, allocations: 17.09 MB / 0.8636 GB, free: 191.3 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++ 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 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