Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestJunctions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions3") translateModel(ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7345/0.7345, allocations: 150.8 MB / 166.7 MB, free: 15.64 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.529e-05/1.532e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1405/0.1406, allocations: 31.98 MB / 237.4 MB, free: 5.406 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.TestJunctions3): time 1.433/1.574, allocations: 300.6 MB / 0.5254 GB, free: 6.512 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.4465/2.02, allocations: 195.1 MB / 0.7158 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009763/2.021, allocations: 25.62 kB / 0.7159 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004499/2.022, allocations: 252.1 kB / 0.7161 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001219/2.023, allocations: 0.7099 MB / 0.7168 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02647/2.049, allocations: 11.4 MB / 0.7279 GB, free: 3.191 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002846/2.052, allocations: 3.213 MB / 0.7311 GB, free: 3.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/2.053, allocations: 1.289 MB / 0.7323 GB, free: 2.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009571/2.054, allocations: 1.074 MB / 0.7334 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009236/2.055, allocations: 1.231 MB / 0.7346 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001783/2.055, allocations: 157.5 kB / 0.7347 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03371/2.089, allocations: 22.84 MB / 0.757 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006551/2.09, allocations: 0.5272 MB / 0.7575 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00156/2.091, allocations: 1.347 MB / 0.7589 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.01522/2.107, allocations: 9.926 MB / 0.7686 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/2.107, allocations: 0 / 0.7686 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.174e-06/2.107, allocations: 0 / 0.7686 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.789e-05/2.107, allocations: 0 / 0.7686 GB, free: 11.13 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: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.008347/2.115, allocations: 3.893 MB / 0.7724 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/2.115, allocations: 9.844 kB / 0.7724 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004218/2.116, allocations: 337.2 kB / 0.7727 GB, free: 8.586 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001177/2.117, allocations: 1.023 MB / 0.7737 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/2.117, allocations: 232.4 kB / 0.7739 GB, free: 8.031 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002601/2.117, allocations: 304.4 kB / 0.7742 GB, free: 8.023 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004275/2.121, allocations: 3.84 MB / 0.778 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.978e-05/2.121, allocations: 29.44 kB / 0.778 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/2.122, allocations: 143.4 kB / 0.7781 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/2.122, allocations: 88 kB / 0.7782 GB, free: 5.512 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00342/2.125, allocations: 2.232 MB / 0.7804 GB, free: 4.098 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.02803/2.153, allocations: 34.21 MB / 0.8138 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001266/2.154, allocations: 0.8198 MB / 0.8146 GB, free: 152 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006225/2.155, allocations: 381 kB / 0.815 GB, free: 15.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.8194/2.975, allocations: 390.1 MB / 1.196 GB, free: 248 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.181e-05/2.975, allocations: 39.09 kB / 1.196 GB, free: 248 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=72): time 2.454e-06/2.975, allocations: 0 / 1.196 GB, free: 248 MB / 0.8106 GB Notification: Performance of matching and sorting (n=72): time 0.006286/2.981, allocations: 2.262 MB / 1.198 GB, free: 246.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/2.981, allocations: 64.06 kB / 1.198 GB, free: 246.1 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002062/2.983, allocations: 1.941 MB / 1.2 GB, free: 244.7 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.422e-05/2.983, allocations: 37.58 kB / 1.2 GB, free: 244.7 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007253/2.984, allocations: 1.668 MB / 1.202 GB, free: 243.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/2.984, allocations: 312.5 kB / 1.202 GB, free: 243.1 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002629/2.984, allocations: 329.9 kB / 1.202 GB, free: 242.9 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 3.541e-05/2.984, allocations: 301.1 kB / 1.203 GB, free: 242.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009551/2.985, allocations: 0.6206 MB / 1.203 GB, free: 242.1 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001543/2.987, allocations: 2.773 MB / 1.206 GB, free: 238.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002887/2.99, allocations: 3.739 MB / 1.21 GB, free: 234.4 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-05/2.99, allocations: 24 kB / 1.21 GB, free: 234.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=434) (initialization): time 0.004829/2.995, allocations: 3.523 MB / 1.213 GB, free: 231.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.55e-05/2.995, allocations: 45.44 kB / 1.213 GB, free: 231.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.584e-05/2.995, allocations: 76 kB / 1.213 GB, free: 231.1 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005098/3, allocations: 1.295 MB / 1.214 GB, free: 229.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/3.001, allocations: 0.651 MB / 1.215 GB, free: 229.2 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/3.003, allocations: 1.343 MB / 1.216 GB, free: 227.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/3.005, allocations: 0.5067 MB / 1.217 GB, free: 227.3 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000156/3.005, allocations: 216 kB / 1.217 GB, free: 227.1 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 353 * Number of states: 0 () * Number of discrete variables: 92 (staticVolume2.fluid1,staticVolume1.fluid1,staticVolume.fluid1,staticVolume2.Cs.ftype,staticVolume2.Ce8.ftype,staticVolume2.Ce7.ftype,staticVolume2.Ce6.ftype,staticVolume2.Ce5.ftype,staticVolume2.Ce3.ftype,staticVolume2.Ce2.ftype,staticVolume2.Ce1.ftype,sourceP1.C.ftype,staticVolume2.fluids[1],staticVolume1.Cs.ftype,staticVolume1.Ce7.ftype,staticVolume1.Ce6.ftype,staticVolume1.Ce5.ftype,staticVolume1.Ce4.ftype,staticVolume1.Ce3.ftype,staticVolume1.Ce2.ftype,staticVolume.Cs.ftype,staticVolume1.fluids[1],staticVolume.Ce8.ftype,staticVolume.Ce7.ftype,staticVolume.Ce6.ftype,staticVolume.Ce5.ftype,staticVolume.Ce3.ftype,staticVolume.Ce2.ftype,staticVolume.Ce1.ftype,sourceP.C.ftype,staticVolume.fluids[1],valve1.fluid,valve2.fluid,valve3.fluid,puitsP2.fluid,pipe1.fluid,pipe2.fluid,sourceP1.fluid1,sourceP.fluid1,staticVolume2.Cs.diff_on_1,valve2.C2.diff_on_1,staticVolume2.Ce8.diff_on_2,staticVolume2.Ce7.diff_on_2,staticVolume2.Ce6.diff_on_2,staticVolume2.Ce5.diff_on_2,staticVolume2.Ce4.diff_on_2,staticVolume2.Ce3.diff_on_2,staticVolume2.Ce2.diff_on_2,staticVolume2.Ce1.diff_on_2,staticVolume2.Ce8.diff_on_1,staticVolume2.Ce7.diff_on_1,staticVolume2.Ce6.diff_on_1,staticVolume2.Ce5.diff_on_1,staticVolume2.Ce3.diff_on_1,staticVolume2.Ce2.diff_on_1,staticVolume2.Ce1.diff_on_1,staticVolume1.Cs.diff_on_1,valve3.C2.diff_on_1,staticVolume1.Ce8.diff_on_2,staticVolume2.Cs.diff_on_2,staticVolume1.Ce7.diff_on_2,staticVolume1.Ce6.diff_on_2,staticVolume1.Ce5.diff_on_2,staticVolume1.Ce4.diff_on_2,staticVolume1.Ce3.diff_on_2,staticVolume1.Ce2.diff_on_2,staticVolume1.Ce1.diff_on_2,staticVolume.Cs.diff_on_2,staticVolume1.Ce7.diff_on_1,staticVolume1.Ce6.diff_on_1,staticVolume1.Ce5.diff_on_1,staticVolume1.Ce4.diff_on_1,staticVolume1.Ce3.diff_on_1,staticVolume1.Ce2.diff_on_1,staticVolume.Cs.diff_on_1,valve1.C2.diff_on_1,staticVolume.Ce8.diff_on_2,staticVolume.Ce7.diff_on_2,staticVolume.Ce6.diff_on_2,staticVolume.Ce5.diff_on_2,staticVolume.Ce4.diff_on_2,staticVolume.Ce3.diff_on_2,staticVolume.Ce2.diff_on_2,staticVolume.Ce1.diff_on_2,staticVolume.Ce8.diff_on_1,staticVolume.Ce7.diff_on_1,staticVolume.Ce6.diff_on_1,staticVolume.Ce5.diff_on_1,staticVolume.Ce3.diff_on_1,staticVolume.Ce2.diff_on_1,staticVolume.Ce1.diff_on_1,staticVolume1.Cs.diff_on_2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (391): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(20,24)} Notification: Performance of prepare postOptimizeDAE: time 0.000649/3.006, allocations: 0.6341 MB / 1.218 GB, free: 226.5 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001686/3.006, allocations: 213.4 kB / 1.218 GB, free: 226.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002754/3.008, allocations: 1.55 MB / 1.219 GB, free: 224.7 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/3.008, allocations: 8 kB / 1.219 GB, free: 224.7 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/3.008, allocations: 4 kB / 1.219 GB, free: 224.7 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/3.008, allocations: 3.984 kB / 1.219 GB, free: 224.7 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004831/3.013, allocations: 3.204 MB / 1.223 GB, free: 221.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/3.013, allocations: 0 / 1.223 GB, free: 221.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002587/3.014, allocations: 83.88 kB / 1.223 GB, free: 221.4 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003814/3.017, allocations: 1.008 MB / 1.224 GB, free: 220.4 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/3.017, allocations: 21.23 kB / 1.224 GB, free: 220.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/3.019, allocations: 1.237 MB / 1.225 GB, free: 219.1 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/3.019, allocations: 0 / 1.225 GB, free: 219.1 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003328/3.022, allocations: 1.752 MB / 1.227 GB, free: 217.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003708/3.022, allocations: 362.1 kB / 1.227 GB, free: 217 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001504/3.023, allocations: 16.94 kB / 1.227 GB, free: 217 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006355/3.023, allocations: 69.95 kB / 1.227 GB, free: 216.9 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/3.023, allocations: 56.52 kB / 1.227 GB, free: 216.9 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.661e-05/3.023, allocations: 32 kB / 1.227 GB, free: 216.8 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0009856/3.024, allocations: 1.09 MB / 1.228 GB, free: 215.7 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/3.024, allocations: 3.469 kB / 1.228 GB, free: 215.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.005239/3.03, allocations: 2.407 MB / 1.231 GB, free: 213.5 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 (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(20,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00588/3.036, allocations: 2.911 MB / 1.233 GB, free: 211.1 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0029/3.038, allocations: 1.93 MB / 1.235 GB, free: 209.1 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/3.038, allocations: 0 / 1.235 GB, free: 209.1 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001044/3.04, allocations: 0.5345 MB / 1.236 GB, free: 208.6 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/3.041, allocations: 338.7 kB / 1.236 GB, free: 208.3 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00384/3.045, allocations: 4.294 MB / 1.24 GB, free: 204 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000607/3.045, allocations: 1.468 MB / 1.242 GB, free: 202.5 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002121/3.045, allocations: 163.4 kB / 1.242 GB, free: 202.3 MB / 0.8106 GB Notification: Performance of SimCode: time 2.4e-07/3.045, allocations: 0 / 1.242 GB, free: 202.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.05691/3.102, allocations: 61.26 MB / 1.302 GB, free: 141.8 MB / 0.8106 GB make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions3.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Fluid.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.Fluid.Examples.SimpleExamples.TestJunctions3CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Fluid.Examples.SimpleExamples.TestJunctions3CalcHelperMain.o] Error 1