Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestJunctions1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions1") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7249/0.7249, allocations: 150.8 MB / 166.7 MB, free: 15.6 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.379e-05/1.38e-05, allocations: 4 kB / 205.4 MB, free: 10.2 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1479, allocations: 31.98 MB / 237.4 MB, free: 5.426 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.TestJunctions1): time 1.709/1.857, allocations: 298.8 MB / 0.5236 GB, free: 6.086 MB / 414.2 MB Notification: Performance of NFInst.instExpressions: time 0.1787/2.035, allocations: 187.6 MB / 0.7068 GB, free: 11.13 MB / 0.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006456/2.036, allocations: 27.81 kB / 0.7068 GB, free: 11.1 MB / 0.592 GB Notification: Performance of NFTyping.typeComponents: time 0.0002991/2.036, allocations: 166.6 kB / 0.707 GB, free: 10.94 MB / 0.592 GB Notification: Performance of NFTyping.typeBindings: time 0.001076/2.037, allocations: 0.5387 MB / 0.7075 GB, free: 10.39 MB / 0.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.02526/2.063, allocations: 9.404 MB / 0.7167 GB, free: 0.9883 MB / 0.592 GB Notification: Performance of NFFlatten.flatten: time 0.2679/2.331, allocations: 2.207 MB / 0.7189 GB, free: 12.3 MB / 0.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/2.332, allocations: 1.095 MB / 0.7199 GB, free: 12.12 MB / 0.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008685/2.333, allocations: 0.7193 MB / 0.7206 GB, free: 12.12 MB / 0.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008408/2.334, allocations: 0.8539 MB / 0.7215 GB, free: 12.12 MB / 0.592 GB Notification: Performance of NFPackage.collectConstants: time 0.000173/2.334, allocations: 102.3 kB / 0.7216 GB, free: 12.12 MB / 0.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02816/2.362, allocations: 20.29 MB / 0.7414 GB, free: 12.1 MB / 0.592 GB Notification: Performance of NFScalarize.scalarize: time 0.000468/2.363, allocations: 350.7 kB / 0.7417 GB, free: 12.1 MB / 0.592 GB Notification: Performance of NFVerifyModel.verify: time 0.001161/2.364, allocations: 0.9695 MB / 0.7427 GB, free: 12.07 MB / 0.592 GB Notification: Performance of NFConvertDAE.convert: time 0.0119/2.376, allocations: 8.24 MB / 0.7507 GB, free: 11.49 MB / 0.592 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/2.376, allocations: 1.859 kB / 0.7507 GB, free: 11.49 MB / 0.592 GB Notification: Performance of FrontEnd: time 1.834e-06/2.376, allocations: 0 / 0.7507 GB, free: 11.49 MB / 0.592 GB Notification: Performance of Transformations before backend: time 2.054e-05/2.376, allocations: 0.8438 kB / 0.7507 GB, free: 11.49 MB / 0.592 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 584 * Number of variables: 584 Notification: Performance of Generate backend data structure: time 0.006046/2.382, allocations: 2.927 MB / 0.7536 GB, free: 9.629 MB / 0.592 GB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/2.382, allocations: 11.88 kB / 0.7536 GB, free: 9.629 MB / 0.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002531/2.382, allocations: 246.5 kB / 0.7538 GB, free: 9.516 MB / 0.592 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008424/2.383, allocations: 0.8493 MB / 0.7547 GB, free: 9.027 MB / 0.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/2.383, allocations: 179.7 kB / 0.7548 GB, free: 9.02 MB / 0.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/2.383, allocations: 222.3 kB / 0.755 GB, free: 9.02 MB / 0.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/2.386, allocations: 2.295 MB / 0.7573 GB, free: 8.156 MB / 0.592 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/2.386, allocations: 5.75 kB / 0.7573 GB, free: 8.156 MB / 0.592 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/2.386, allocations: 100 kB / 0.7574 GB, free: 8.156 MB / 0.592 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/2.386, allocations: 60.31 kB / 0.7574 GB, free: 8.156 MB / 0.592 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002236/2.388, allocations: 1.558 MB / 0.759 GB, free: 7.949 MB / 0.592 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.009724/2.398, allocations: 15.51 MB / 0.7741 GB, free: 9.992 MB / 0.6077 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00067/2.399, allocations: 0.4977 MB / 0.7746 GB, free: 9.91 MB / 0.6077 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/2.399, allocations: 305.3 kB / 0.7749 GB, free: 9.867 MB / 0.6077 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8525/3.252, allocations: 391.2 MB / 1.157 GB, free: 320 MB / 0.8264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/3.252, allocations: 45.86 kB / 1.157 GB, free: 320 MB / 0.8264 GB Notification: Performance of pre-optimization done (n=61): time 2.134e-06/3.252, allocations: 0 / 1.157 GB, free: 320 MB / 0.8264 GB Notification: Performance of matching and sorting (n=61): time 0.004432/3.256, allocations: 2.275 MB / 1.159 GB, free: 317.9 MB / 0.8264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.54e-05/3.256, allocations: 85.11 kB / 1.159 GB, free: 317.8 MB / 0.8264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00107/3.257, allocations: 1.028 MB / 1.16 GB, free: 317.1 MB / 0.8264 GB Notification: Performance of collectPreVariables (initialization): time 3.233e-05/3.257, allocations: 41.3 kB / 1.16 GB, free: 317.1 MB / 0.8264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003561/3.258, allocations: 0.9758 MB / 1.161 GB, free: 316.4 MB / 0.8264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/3.258, allocations: 231.8 kB / 1.161 GB, free: 316.2 MB / 0.8264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/3.258, allocations: 155.5 kB / 1.162 GB, free: 316.1 MB / 0.8264 GB Notification: Performance of setup shared object (initialization): time 9.359e-05/3.258, allocations: 409.1 kB / 1.162 GB, free: 315.7 MB / 0.8264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/3.259, allocations: 353.3 kB / 1.162 GB, free: 315.5 MB / 0.8264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000702/3.259, allocations: 0.9698 MB / 1.163 GB, free: 314.4 MB / 0.8264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/3.261, allocations: 1.382 MB / 1.165 GB, free: 313.1 MB / 0.8264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/3.261, allocations: 8 kB / 1.165 GB, free: 313.1 MB / 0.8264 GB Notification: Performance of matching and sorting (n=174) (initialization): time 0.002909/3.263, allocations: 1.836 MB / 1.166 GB, free: 311.7 MB / 0.8264 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/3.263, allocations: 12.78 kB / 1.166 GB, free: 311.7 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.568e-05/3.263, allocations: 24 kB / 1.166 GB, free: 311.6 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001388/3.265, allocations: 460.5 kB / 1.167 GB, free: 311.2 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000655/3.266, allocations: 242.6 kB / 1.167 GB, free: 311 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003207/3.269, allocations: 6.833 MB / 1.174 GB, free: 304.1 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/3.27, allocations: 229.6 kB / 1.174 GB, free: 303.9 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-05/3.27, allocations: 79.8 kB / 1.174 GB, free: 303.8 MB / 0.8264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 95 * Number of states: 0 () * Number of discrete variables: 46 (splitter3.Cs3.ftype,splitter3.Cs2.ftype,splitter3.Cs1.ftype,sourceP1.C.ftype,splitter3.fluids[1],singularPressureLoss3.fluid,sinkP2.fluid,sinkP3.fluid,singularPressureLoss4.fluid,singularPressureLoss5.fluid,sinkP4.fluid,singularPressureLoss6.fluid,sourceP1.fluid1,splitter3.fluid1,splitter2.Cs2.ftype,splitter2.Cs1.ftype,sourceP.C.ftype,splitter2.fluids[1],singularPressureLoss.fluid,sinkP.fluid,sinkP1.fluid,singularPressureLoss1.fluid,singularPressureLoss2.fluid,sourceP.fluid1,splitter2.fluid1,splitter3.Cs3.diff_on_2,splitter3.Cs3.diff_on_1,singularPressureLoss6.C2.diff_on_1,splitter3.Cs2.diff_on_2,splitter3.Cs2.diff_on_1,singularPressureLoss5.C2.diff_on_1,splitter3.Cs1.diff_on_2,splitter3.Cs1.diff_on_1,singularPressureLoss4.C2.diff_on_1,splitter3.Ce.diff_on_2,sourceP1.C.diff_on_2,singularPressureLoss3.C2.diff_on_1,splitter2.Cs2.diff_on_2,splitter2.Cs2.diff_on_1,singularPressureLoss2.C2.diff_on_1,splitter2.Cs1.diff_on_2,splitter2.Cs1.diff_on_1,singularPressureLoss1.C2.diff_on_1,splitter2.Ce.diff_on_2,sourceP.C.diff_on_2,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 (146): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0005659/3.271, allocations: 368.7 kB / 1.174 GB, free: 303.6 MB / 0.8264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001227/3.271, allocations: 118.3 kB / 1.175 GB, free: 303.4 MB / 0.8264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002169/3.273, allocations: 1.193 MB / 1.176 GB, free: 302.6 MB / 0.8264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/3.273, allocations: 4 kB / 1.176 GB, free: 302.5 MB / 0.8264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/3.273, allocations: 6.625 kB / 1.176 GB, free: 302.5 MB / 0.8264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/3.273, allocations: 4.641 kB / 1.176 GB, free: 302.5 MB / 0.8264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01322/3.286, allocations: 11.3 MB / 1.187 GB, free: 290.6 MB / 0.8264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.738e-06/3.286, allocations: 0 / 1.187 GB, free: 290.6 MB / 0.8264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001004/3.286, allocations: 52.8 kB / 1.187 GB, free: 290.5 MB / 0.8264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0012/3.287, allocations: 412.3 kB / 1.187 GB, free: 290.1 MB / 0.8264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/3.287, allocations: 23.98 kB / 1.187 GB, free: 290.1 MB / 0.8264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/3.29, allocations: 6.73 MB / 1.194 GB, free: 282.9 MB / 0.8264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/3.29, allocations: 4.031 kB / 1.194 GB, free: 282.9 MB / 0.8264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/3.292, allocations: 1.169 MB / 1.195 GB, free: 281.7 MB / 0.8264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002513/3.292, allocations: 255.1 kB / 1.195 GB, free: 281.4 MB / 0.8264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.441e-05/3.292, allocations: 20 kB / 1.195 GB, free: 281.4 MB / 0.8264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004722/3.293, allocations: 67.83 kB / 1.195 GB, free: 281.3 MB / 0.8264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.068e-05/3.293, allocations: 59.81 kB / 1.195 GB, free: 281.3 MB / 0.8264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/3.293, allocations: 31.98 kB / 1.195 GB, free: 281.2 MB / 0.8264 GB Notification: Performance of sorting global known variables: time 0.0006496/3.294, allocations: 0.6409 MB / 1.196 GB, free: 280.6 MB / 0.8264 GB Notification: Performance of sort global known variables: time 1.4e-07/3.294, allocations: 0 / 1.196 GB, free: 280.6 MB / 0.8264 GB Notification: Performance of remove unused functions: time 0.0042/3.298, allocations: 1.869 MB / 1.198 GB, free: 278.9 MB / 0.8264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (33): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.00457/3.302, allocations: 2.283 MB / 1.2 GB, free: 277 MB / 0.8264 GB Notification: Performance of simCode: created initialization part: time 0.001617/3.304, allocations: 1.162 MB / 1.201 GB, free: 275.8 MB / 0.8264 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/3.304, allocations: 0 / 1.201 GB, free: 275.8 MB / 0.8264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/3.305, allocations: 0.5489 MB / 1.202 GB, free: 275.2 MB / 0.8264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001524/3.306, allocations: 311.4 kB / 1.202 GB, free: 275 MB / 0.8264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/3.309, allocations: 3.21 MB / 1.205 GB, free: 271.7 MB / 0.8264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004941/3.309, allocations: 1.243 MB / 1.206 GB, free: 270.4 MB / 0.8264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001487/3.31, allocations: 103.4 kB / 1.207 GB, free: 270.3 MB / 0.8264 GB Notification: Performance of SimCode: time 2.4e-07/3.31, allocations: 0 / 1.207 GB, free: 270.3 MB / 0.8264 GB Notification: Performance of Templates: time 0.06924/3.379, allocations: 101.9 MB / 1.306 GB, free: 169.1 MB / 0.8264 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions1.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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/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.TestJunctions1CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions1CalcHelperMain.o] Error 1