Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.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.TestJunctions1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6819/0.6819, allocations: 150.8 MB / 166.7 MB, free: 15.66 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.339e-05/1.346e-05, allocations: 4 kB / 205.4 MB, free: 10.22 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1202, allocations: 31.99 MB / 237.4 MB, free: 5.434 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.TestJunctions1): time 1.305/1.425, allocations: 297.1 MB / 0.522 GB, free: 10.03 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03736/1.463, allocations: 37.87 MB / 0.559 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/1.463, allocations: 12 kB / 0.559 GB, free: 4.281 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003731/1.463, allocations: 190.7 kB / 0.5592 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005461/1.464, allocations: 365.1 kB / 0.5595 GB, free: 3.734 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01544/1.479, allocations: 7.526 MB / 0.5669 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001154/1.48, allocations: 1.432 MB / 0.5682 GB, free: 10.77 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005199/1.481, allocations: 0.5306 MB / 0.5688 GB, free: 10.23 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004273/1.481, allocations: 477.7 kB / 0.5692 GB, free: 9.766 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003659/1.482, allocations: 457.4 kB / 0.5697 GB, free: 9.316 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 5.817e-05/1.482, allocations: 40 kB / 0.5697 GB, free: 9.277 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02284/1.505, allocations: 17.84 MB / 0.5871 GB, free: 7.414 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001386/1.505, allocations: 159.1 kB / 0.5873 GB, free: 7.258 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004846/1.505, allocations: 0.5766 MB / 0.5878 GB, free: 6.672 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006425/1.512, allocations: 6.369 MB / 0.5941 GB, free: 292 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/1.512, allocations: 0 / 0.5941 GB, free: 292 kB / 478.1 MB Notification: Performance of FrontEnd: time 1.322e-06/1.512, allocations: 0 / 0.5941 GB, free: 292 kB / 478.1 MB Notification: Performance of Transformations before backend: time 9.328e-06/1.512, allocations: 0 / 0.5941 GB, free: 292 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 374 * Number of variables: 374 Notification: Performance of Generate backend data structure: time 0.003426/1.515, allocations: 2.076 MB / 0.5961 GB, free: 14.15 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/1.515, allocations: 15.97 kB / 0.5961 GB, free: 14.14 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001502/1.515, allocations: 142.2 kB / 0.5962 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004461/1.516, allocations: 497.2 kB / 0.5967 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.048e-05/1.516, allocations: 78.17 kB / 0.5968 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/1.516, allocations: 104 kB / 0.5969 GB, free: 13.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/1.518, allocations: 1.322 MB / 0.5982 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/1.518, allocations: 7.938 kB / 0.5982 GB, free: 11.84 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.627e-05/1.518, allocations: 48 kB / 0.5982 GB, free: 11.79 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.956e-05/1.518, allocations: 59.95 kB / 0.5983 GB, free: 11.73 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.519, allocations: 0.8052 MB / 0.5991 GB, free: 10.93 MB / 494.1 MB 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.03656/1.555, allocations: 25.03 MB / 0.6235 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009459/1.556, allocations: 0.5586 MB / 0.6241 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004253/1.557, allocations: 372.1 kB / 0.6244 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.271/1.828, allocations: 77.93 MB / 0.7005 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/1.828, allocations: 41.14 kB / 0.7006 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=145): time 2.294e-06/1.828, allocations: 0 / 0.7006 GB, free: 223.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=145): time 0.003915/1.832, allocations: 2.442 MB / 0.7029 GB, free: 222.3 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.184e-05/1.832, allocations: 81.39 kB / 0.703 GB, free: 222.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004834/1.832, allocations: 0.5842 MB / 0.7036 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/1.832, allocations: 31.27 kB / 0.7036 GB, free: 222.1 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001875/1.833, allocations: 437 kB / 0.704 GB, free: 221.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001802/1.833, allocations: 478.4 kB / 0.7045 GB, free: 221.6 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/1.833, allocations: 115.9 kB / 0.7046 GB, free: 221.5 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/1.833, allocations: 402.1 kB / 0.705 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003095/1.833, allocations: 272.1 kB / 0.7052 GB, free: 221.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003707/1.834, allocations: 0.4996 MB / 0.7057 GB, free: 221 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007503/1.834, allocations: 0.8823 MB / 0.7066 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/1.834, allocations: 0 / 0.7066 GB, free: 220.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=178) (initialization): time 0.001679/1.836, allocations: 1.307 MB / 0.7079 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.836, allocations: 8 kB / 0.7079 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/1.836, allocations: 10.66 kB / 0.7079 GB, free: 220.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001421/1.838, allocations: 0.878 MB / 0.7087 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.176e-05/1.838, allocations: 35.84 kB / 0.7088 GB, free: 220.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003628/1.841, allocations: 7.255 MB / 0.7159 GB, free: 214.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003654/1.842, allocations: 128.9 kB / 0.716 GB, free: 214 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/1.842, allocations: 35.7 kB / 0.716 GB, free: 214 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 28 (singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sinkP4.C.a,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,sinkP3.C.a,sinkP2.C.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,sourceP1.C.b,splitter3.Cs2.b,splitter3.Cs1.b,splitter3.Cs3.b,splitter3.Ce.a,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,sinkP1.C.a,sinkP.C.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,sourceP.C.b,splitter2.Cs2.b,splitter2.Cs1.b,splitter2.Ce.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002404/1.842, allocations: 251.4 kB / 0.7163 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.112e-05/1.842, allocations: 89.44 kB / 0.7164 GB, free: 213.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/1.844, allocations: 2.887 MB / 0.7192 GB, free: 213.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001763/1.846, allocations: 1.597 MB / 0.7207 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/1.846, allocations: 0.6875 kB / 0.7207 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.357e-06/1.846, allocations: 7.766 kB / 0.7207 GB, free: 213.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/1.85, allocations: 3.997 MB / 0.7246 GB, free: 212.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.85, allocations: 3.281 kB / 0.7246 GB, free: 212.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002978/1.851, allocations: 148.5 kB / 0.7248 GB, free: 212.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001276/1.852, allocations: 0.9157 MB / 0.7257 GB, free: 212 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/1.852, allocations: 29.66 kB / 0.7257 GB, free: 212 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003474/1.855, allocations: 7.351 MB / 0.7329 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/1.855, allocations: 8.562 kB / 0.7329 GB, free: 205.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001818/1.857, allocations: 1.887 MB / 0.7347 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002184/1.857, allocations: 305.3 kB / 0.735 GB, free: 205 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/1.857, allocations: 27.56 kB / 0.7351 GB, free: 204.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003531/1.858, allocations: 47.7 kB / 0.7351 GB, free: 204.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.421e-05/1.858, allocations: 89.48 kB / 0.7352 GB, free: 204.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.481e-05/1.858, allocations: 40.3 kB / 0.7352 GB, free: 204.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003562/1.858, allocations: 474.5 kB / 0.7357 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/1.858, allocations: 0 / 0.7357 GB, free: 204.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002524/1.861, allocations: 1.467 MB / 0.7371 GB, free: 204.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (108): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,4,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 7 systems {(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.003355/1.864, allocations: 1.805 MB / 0.7389 GB, free: 204.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001949/1.866, allocations: 1.805 MB / 0.7406 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.866, allocations: 1.75 kB / 0.7406 GB, free: 203.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001309/1.867, allocations: 1.017 MB / 0.7416 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002394/1.87, allocations: 0.517 MB / 0.7421 GB, free: 202.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/1.872, allocations: 3.131 MB / 0.7452 GB, free: 200.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004244/1.873, allocations: 1.242 MB / 0.7464 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/1.873, allocations: 68.94 kB / 0.7465 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.2e-07/1.873, allocations: 3.938 kB / 0.7465 GB, free: 199.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.05286/1.926, allocations: 87.93 MB / 0.8323 GB, free: 113.4 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions1CalcHelperMain.o] Error 1