Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.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.Examples.SimpleExamples.TestJunctions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.681/0.681, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.326e-05/1.333e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1187/0.1187, allocations: 31.98 MB / 237.4 MB, free: 5.371 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.Examples.SimpleExamples.TestJunctions3): time 1.305/1.424, allocations: 297.9 MB / 0.5228 GB, free: 9.164 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.3889/1.813, allocations: 186.7 MB / 0.7051 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007077/1.814, allocations: 9.781 kB / 0.7051 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000655/1.814, allocations: 241.1 kB / 0.7053 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001154/1.816, allocations: 457.4 kB / 0.7058 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01919/1.835, allocations: 9.231 MB / 0.7148 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00139/1.836, allocations: 1.813 MB / 0.7165 GB, free: 3.5 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004912/1.837, allocations: 0.5887 MB / 0.7171 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004577/1.837, allocations: 0.6038 MB / 0.7177 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004548/1.838, allocations: 0.6145 MB / 0.7183 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/1.838, allocations: 58.41 kB / 0.7184 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02385/1.862, allocations: 20.2 MB / 0.7381 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002153/1.862, allocations: 222.2 kB / 0.7383 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007362/1.863, allocations: 0.7111 MB / 0.739 GB, free: 2.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007713/1.87, allocations: 7.532 MB / 0.7464 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/1.87, allocations: 0 / 0.7464 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.333e-06/1.87, allocations: 0 / 0.7464 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.174e-05/1.87, allocations: 0 / 0.7464 GB, free: 15.25 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: 431 * Number of variables: 431 Notification: Performance of Generate backend data structure: time 0.00454/1.875, allocations: 2.582 MB / 0.7489 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.88e-05/1.875, allocations: 8.031 kB / 0.7489 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001689/1.875, allocations: 169.1 kB / 0.749 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005102/1.876, allocations: 0.5663 MB / 0.7496 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.261e-05/1.876, allocations: 104 kB / 0.7497 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/1.876, allocations: 126.1 kB / 0.7498 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001866/1.878, allocations: 1.779 MB / 0.7516 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/1.878, allocations: 8.719 kB / 0.7516 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.372e-05/1.878, allocations: 58.44 kB / 0.7516 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.396e-05/1.878, allocations: 67.58 kB / 0.7517 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/1.879, allocations: 1.053 MB / 0.7527 GB, free: 12.14 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.05179/1.931, allocations: 36.91 MB / 0.7888 GB, free: 12.88 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001011/1.932, allocations: 0.6147 MB / 0.7894 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005747/1.933, allocations: 435.2 kB / 0.7898 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2686/2.201, allocations: 151.8 MB / 0.938 GB, free: 6.785 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/2.201, allocations: 41.72 kB / 0.938 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=146): time 2.535e-06/2.201, allocations: 0 / 0.938 GB, free: 6.742 MB / 0.7794 GB Notification: Performance of matching and sorting (n=146): time 0.006401/2.208, allocations: 2.336 MB / 0.9403 GB, free: 4.859 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/2.208, allocations: 63.78 kB / 0.9404 GB, free: 4.785 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007901/2.209, allocations: 0.8237 MB / 0.9412 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/2.209, allocations: 29.39 kB / 0.9412 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003425/2.209, allocations: 0.6552 MB / 0.9418 GB, free: 3.594 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/2.209, allocations: 478.6 kB / 0.9423 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001705/2.209, allocations: 170.2 kB / 0.9425 GB, free: 3.07 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000112/2.21, allocations: 347.4 kB / 0.9428 GB, free: 2.742 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006837/2.21, allocations: 408.9 kB / 0.9432 GB, free: 2.488 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009827/2.211, allocations: 1.074 MB / 0.9442 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/2.213, allocations: 1.651 MB / 0.9458 GB, free: 15.82 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/2.213, allocations: 8 kB / 0.9458 GB, free: 15.81 MB / 0.795 GB Notification: Performance of matching and sorting (n=253) (initialization): time 0.002485/2.216, allocations: 1.837 MB / 0.9476 GB, free: 14.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/2.216, allocations: 12 kB / 0.9477 GB, free: 14.58 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/2.216, allocations: 27.94 kB / 0.9477 GB, free: 14.55 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004046/2.22, allocations: 1.408 MB / 0.9491 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004178/2.22, allocations: 175.6 kB / 0.9492 GB, free: 13.09 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/2.222, allocations: 1.303 MB / 0.9505 GB, free: 11.97 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007748/2.223, allocations: 229.7 kB / 0.9507 GB, free: 11.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.383e-05/2.223, allocations: 72 kB / 0.9508 GB, free: 11.68 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 103 * Number of states: 0 () * Number of discrete variables: 60 (staticVolume2.Ce4.a,staticVolume2.Ce8.a,staticVolume2.Cs.b,staticVolume2.Ce1.a,staticVolume2.Ce2.a,staticVolume2.Ce3.a,staticVolume2.Ce7.a,staticVolume2.Ce6.a,staticVolume2.Ce5.a,staticVolume1.Ce4.a,staticVolume1.Ce8.a,staticVolume1.Cs.b,staticVolume1.Ce1.a,staticVolume1.Ce2.a,staticVolume1.Ce3.a,staticVolume1.Ce7.a,staticVolume1.Ce6.a,staticVolume1.Ce5.a,staticVolume.Ce4.a,staticVolume.Ce8.a,staticVolume.Cs.b,staticVolume.Ce1.a,staticVolume.Ce2.a,staticVolume.Ce3.a,staticVolume.Ce7.a,staticVolume.Ce6.a,staticVolume.Ce5.a,pipe2.C2.b,pipe2.C1.a,pipe1.C2.b,pipe1.C1.a,puitsP2.C.a,valve3.C2.b,valve3.C1.a,valve2.C2.b,valve2.C1.a,valve1.C2.b,valve1.C1.a,sourceP1.C.b,sourceP.C.b,staticVolume2.Ce8.b,staticVolume2.Ce7.b,staticVolume2.Ce6.b,staticVolume2.Ce5.b,staticVolume2.Ce3.b,staticVolume2.Ce2.b,staticVolume2.Ce1.b,staticVolume1.Ce7.b,staticVolume1.Ce6.b,staticVolume1.Ce5.b,staticVolume1.Ce4.b,staticVolume1.Ce3.b,staticVolume1.Ce2.b,staticVolume.Ce8.b,staticVolume.Ce7.b,staticVolume.Ce6.b,staticVolume.Ce5.b,staticVolume.Ce3.b,staticVolume.Ce2.b,staticVolume.Ce1.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0003592/2.223, allocations: 349 kB / 0.9511 GB, free: 11.35 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/2.223, allocations: 111.4 kB / 0.9512 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00392/2.227, allocations: 4.102 MB / 0.9552 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001948/2.229, allocations: 1.472 MB / 0.9567 GB, free: 5.551 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/2.229, allocations: 4 kB / 0.9567 GB, free: 5.547 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/2.229, allocations: 3.984 kB / 0.9567 GB, free: 5.543 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004277/2.233, allocations: 3.608 MB / 0.9602 GB, free: 1.945 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/2.233, allocations: 5.859 kB / 0.9602 GB, free: 1.941 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004418/2.234, allocations: 164.6 kB / 0.9604 GB, free: 1.789 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003012/2.237, allocations: 1.26 MB / 0.9616 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.014e-05/2.237, allocations: 24 kB / 0.9616 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/2.238, allocations: 1.398 MB / 0.963 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-06/2.239, allocations: 0 / 0.963 GB, free: 15.08 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002155/2.241, allocations: 1.686 MB / 0.9646 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000301/2.241, allocations: 330.7 kB / 0.9649 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.314e-05/2.241, allocations: 20 kB / 0.965 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004802/2.242, allocations: 71.8 kB / 0.965 GB, free: 12.95 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/2.242, allocations: 69.2 kB / 0.9651 GB, free: 12.88 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.497e-05/2.242, allocations: 36 kB / 0.9651 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006037/2.242, allocations: 0.6106 MB / 0.9657 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/2.242, allocations: 0 / 0.9657 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.003522/2.246, allocations: 1.787 MB / 0.9675 GB, free: 10.43 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (94): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(13,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0048/2.251, allocations: 2.363 MB / 0.9698 GB, free: 8.363 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002622/2.253, allocations: 1.812 MB / 0.9715 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/2.253, allocations: 3.938 kB / 0.9715 GB, free: 6.559 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/2.255, allocations: 0.7613 MB / 0.9723 GB, free: 5.816 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002287/2.257, allocations: 0.5186 MB / 0.9728 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/2.26, allocations: 3.398 MB / 0.9761 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006845/2.261, allocations: 1.284 MB / 0.9774 GB, free: 0.5625 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/2.261, allocations: 95.42 kB / 0.9775 GB, free: 480 kB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/2.261, allocations: 0 / 0.9775 GB, free: 480 kB / 0.8106 GB Notification: Performance of Templates: time 0.181/2.442, allocations: 46.92 MB / 1.023 GB, free: 439.4 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3.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.Examples.SimpleExamples.TestJunctions3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions3CalcHelperMain.o] Error 1