Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo", uses=false) Using package ThermoSysPro with version 4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo) Running command: translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7446/0.7446, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.548e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1358, allocations: 31.99 MB / 237.4 MB, free: 5.41 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2): time 1.445/1.58, allocations: 300.7 MB / 0.5255 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4316/2.012, allocations: 188.1 MB / 0.7092 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006249/2.013, allocations: 45.72 kB / 0.7092 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0002894/2.013, allocations: 214.6 kB / 0.7094 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001178/2.014, allocations: 0.7349 MB / 0.7102 GB, free: 3.801 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02188/2.036, allocations: 9.58 MB / 0.7195 GB, free: 3.652 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002588/2.039, allocations: 2.89 MB / 0.7223 GB, free: 3.641 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/2.04, allocations: 1.362 MB / 0.7237 GB, free: 3.398 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009411/2.041, allocations: 0.9548 MB / 0.7246 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007793/2.042, allocations: 1.098 MB / 0.7257 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001553/2.042, allocations: 118.8 kB / 0.7258 GB, free: 3.395 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03089/2.073, allocations: 20.33 MB / 0.7456 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005605/2.073, allocations: 438.7 kB / 0.7461 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/2.075, allocations: 1.245 MB / 0.7473 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01294/2.088, allocations: 8.759 MB / 0.7558 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/2.088, allocations: 0 / 0.7558 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.093e-06/2.088, allocations: 0 / 0.7558 GB, free: 13.75 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.808e-05/2.088, allocations: 0 / 0.7558 GB, free: 13.75 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 731 * Number of variables: 731 Notification: Performance of Generate backend data structure: time 0.006596/2.095, allocations: 3.39 MB / 0.7591 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/2.095, allocations: 16.27 kB / 0.7591 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003426/2.095, allocations: 322.7 kB / 0.7595 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001283/2.096, allocations: 1.12 MB / 0.7605 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/2.096, allocations: 213.4 kB / 0.7608 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002365/2.097, allocations: 278.1 kB / 0.761 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/2.1, allocations: 2.886 MB / 0.7638 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.948e-05/2.1, allocations: 16.23 kB / 0.7639 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001615/2.1, allocations: 120.5 kB / 0.764 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.235e-05/2.1, allocations: 75.88 kB / 0.764 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003093/2.104, allocations: 1.919 MB / 0.7659 GB, free: 9.48 MB / 0.5919 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.02684/2.13, allocations: 26.92 MB / 0.7922 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/2.132, allocations: 0.6872 MB / 0.7929 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004277/2.132, allocations: 274 kB / 0.7931 GB, free: 484 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6449/2.777, allocations: 250.1 MB / 1.037 GB, free: 421.9 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.085e-05/2.777, allocations: 40.31 kB / 1.037 GB, free: 421.9 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=69): time 2.324e-06/2.777, allocations: 0 / 1.037 GB, free: 421.9 MB / 0.8106 GB Notification: Performance of matching and sorting (n=69): time 0.005379/2.782, allocations: 2.711 MB / 1.04 GB, free: 419.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/2.782, allocations: 110.8 kB / 1.04 GB, free: 419.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001639/2.784, allocations: 1.495 MB / 1.042 GB, free: 418.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.104e-05/2.784, allocations: 38.27 kB / 1.042 GB, free: 418.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005386/2.785, allocations: 1.313 MB / 1.043 GB, free: 417.7 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000147/2.785, allocations: 264.5 kB / 1.043 GB, free: 417.5 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001732/2.785, allocations: 204.3 kB / 1.043 GB, free: 417.4 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.616e-05/2.785, allocations: 309.1 kB / 1.044 GB, free: 417.1 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006177/2.786, allocations: 370.4 kB / 1.044 GB, free: 416.8 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009349/2.787, allocations: 1.338 MB / 1.045 GB, free: 415.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001506/2.788, allocations: 1.813 MB / 1.047 GB, free: 413.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/2.788, allocations: 8 kB / 1.047 GB, free: 413.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.003988/2.792, allocations: 2.327 MB / 1.049 GB, free: 411.4 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.714e-05/2.792, allocations: 20.56 kB / 1.049 GB, free: 411.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-05/2.792, allocations: 32 kB / 1.049 GB, free: 411.3 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/2.794, allocations: 0.5797 MB / 1.05 GB, free: 410.8 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006771/2.795, allocations: 328.9 kB / 1.05 GB, free: 410.5 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/2.799, allocations: 9.267 MB / 1.059 GB, free: 401 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/2.8, allocations: 316.4 kB / 1.06 GB, free: 400.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.52e-05/2.8, allocations: 120.2 kB / 1.06 GB, free: 400.7 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * Number of states: 0 () * Number of discrete variables: 60 (massFlowMultiplier.Cs.ftype,sourceQ1.C.ftype,massFlowMultiplier.fluids[1],singularPressureLoss7.fluid,singularPressureLoss8.fluid,sinkP2.fluid,sourceQ1.fluid1,massFlowMultiplier.fluid1,sourceQ.C.ftype,mixer2_2.Cs.ftype,sourceP3.C.ftype,sourceP2.C.ftype,mixer2_2.fluids[1],singularPressureLoss3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP1.fluid,singularPressureLoss6.fluid,sourceQ.fluid1,sourceP3.fluid1,sourceP2.fluid1,mixer2_2.fluid1,mixer2_1.Cs.ftype,sourceP1.C.ftype,sourceP.C.ftype,mixer2_1.fluids[1],singularPressureLoss.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,sinkP.fluid,sourceP1.fluid1,sourceP.fluid1,mixer2_1.fluid1,massFlowMultiplier.Cs.diff_on_2,massFlowMultiplier.Cs.diff_on_1,singularPressureLoss8.C2.diff_on_1,massFlowMultiplier.Ce.diff_on_2,sourceQ1.C.diff_on_2,singularPressureLoss7.C2.diff_on_1,mixer2_2.Ce3.diff_on_2,sourceQ.C.diff_on_2,singularPressureLoss6.C2.diff_on_1,mixer2_2.Cs.diff_on_2,singularPressureLoss5.C2.diff_on_1,singularPressureLoss4.C2.diff_on_1,mixer2_2.Ce2.diff_on_2,sourceP3.C.diff_on_2,mixer2_2.Ce1.diff_on_2,sourceP2.C.diff_on_2,mixer2_2.Cs.diff_on_1,singularPressureLoss3.C2.diff_on_1,mixer2_1.Cs.diff_on_2,singularPressureLoss2.C2.diff_on_1,singularPressureLoss1.C2.diff_on_1,mixer2_1.Ce2.diff_on_2,sourceP1.C.diff_on_2,mixer2_1.Ce1.diff_on_2,sourceP.C.diff_on_2,mixer2_1.Cs.diff_on_1,singularPressureLoss.C2.diff_on_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (205): * Single equations (assignments): 193 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0006737/2.801, allocations: 472.6 kB / 1.06 GB, free: 400.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001743/2.801, allocations: 165.9 kB / 1.06 GB, free: 400.2 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002709/2.804, allocations: 1.338 MB / 1.062 GB, free: 399.1 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/2.804, allocations: 11.84 kB / 1.062 GB, free: 399.1 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/2.804, allocations: 4.938 kB / 1.062 GB, free: 399.1 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/2.804, allocations: 7.922 kB / 1.062 GB, free: 399.1 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002607/2.807, allocations: 2.059 MB / 1.064 GB, free: 397.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/2.807, allocations: 0 / 1.064 GB, free: 397.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/2.807, allocations: 45.61 kB / 1.064 GB, free: 397.5 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001565/2.808, allocations: 0.5149 MB / 1.064 GB, free: 397 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/2.808, allocations: 19.75 kB / 1.064 GB, free: 397 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003865/2.812, allocations: 9.175 MB / 1.073 GB, free: 387.6 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/2.812, allocations: 0 / 1.073 GB, free: 387.6 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002285/2.814, allocations: 1.353 MB / 1.075 GB, free: 386.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004016/2.815, allocations: 322.2 kB / 1.075 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000122/2.815, allocations: 7.688 kB / 1.075 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004634/2.815, allocations: 27.05 kB / 1.075 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.393e-05/2.816, allocations: 51.19 kB / 1.075 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.714e-05/2.816, allocations: 27.67 kB / 1.075 GB, free: 386.1 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.001038/2.817, allocations: 0.9384 MB / 1.076 GB, free: 385.4 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/2.817, allocations: 0 / 1.076 GB, free: 385.4 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005243/2.822, allocations: 2.001 MB / 1.078 GB, free: 383.6 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 simulation (32): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,2,100.0%), (1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006079/2.828, allocations: 2.265 MB / 1.08 GB, free: 381.9 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002695/2.831, allocations: 1.48 MB / 1.082 GB, free: 380.6 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/2.831, allocations: 0 / 1.082 GB, free: 380.6 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001023/2.832, allocations: 0.7198 MB / 1.082 GB, free: 380 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/2.834, allocations: 439.2 kB / 1.083 GB, free: 379.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004376/2.838, allocations: 4.058 MB / 1.087 GB, free: 375.7 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007092/2.839, allocations: 1.432 MB / 1.088 GB, free: 374.3 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002217/2.839, allocations: 139.2 kB / 1.088 GB, free: 374.1 MB / 0.8106 GB Notification: Performance of SimCode: time 6.41e-07/2.839, allocations: 0 / 1.088 GB, free: 374.1 MB / 0.8106 GB Notification: Performance of Templates: time 0.09688/2.936, allocations: 153.3 MB / 1.238 GB, free: 221.6 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2.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 OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions2CalcHelperMain.o] Error 1