Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.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.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2") translateModel(ThermoSysPro.Examples.SimpleExamples.TestJunctions2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.6917/0.6917, allocations: 150.8 MB / 166.7 MB, free: 15.62 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.239e-05/1.24e-05, allocations: 4 kB / 205.4 MB, free: 10.21 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1184, allocations: 31.99 MB / 237.4 MB, free: 5.414 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.TestJunctions2): time 1.331/1.449, allocations: 298.5 MB / 0.5234 GB, free: 8.551 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0381/1.487, allocations: 38.24 MB / 0.5607 GB, free: 2.449 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003236/1.488, allocations: 16 kB / 0.5607 GB, free: 2.434 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000428/1.488, allocations: 230.4 kB / 0.561 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007608/1.489, allocations: 492.2 kB / 0.5614 GB, free: 1.723 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01536/1.504, allocations: 7.607 MB / 0.5688 GB, free: 10.12 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.001546/1.506, allocations: 1.898 MB / 0.5707 GB, free: 8.207 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006462/1.507, allocations: 0.6736 MB / 0.5714 GB, free: 7.52 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005529/1.507, allocations: 0.6064 MB / 0.572 GB, free: 6.91 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004703/1.508, allocations: 0.5904 MB / 0.5725 GB, free: 6.316 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 8.246e-05/1.508, allocations: 56 kB / 0.5726 GB, free: 6.262 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02315/1.531, allocations: 17.84 MB / 0.59 GB, free: 4.398 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001762/1.531, allocations: 206.8 kB / 0.5902 GB, free: 4.195 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006476/1.532, allocations: 0.7514 MB / 0.5909 GB, free: 3.434 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006828/1.539, allocations: 6.669 MB / 0.5974 GB, free: 12.75 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/1.539, allocations: 0 / 0.5974 GB, free: 12.75 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.313e-06/1.539, allocations: 0 / 0.5974 GB, free: 12.75 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.32e-05/1.539, allocations: 0 / 0.5974 GB, free: 12.75 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 490 * Number of variables: 490 Notification: Performance of Generate backend data structure: time 0.003811/1.542, allocations: 2.355 MB / 0.5997 GB, free: 10.34 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.166e-05/1.542, allocations: 8.031 kB / 0.5998 GB, free: 10.33 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001859/1.543, allocations: 185.7 kB / 0.5999 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/1.543, allocations: 0.581 MB / 0.6005 GB, free: 9.52 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/1.543, allocations: 102.8 kB / 0.6006 GB, free: 9.418 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.543, allocations: 136 kB / 0.6007 GB, free: 9.285 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/1.545, allocations: 1.729 MB / 0.6024 GB, free: 7.406 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.753e-05/1.545, allocations: 7.938 kB / 0.6024 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-05/1.546, allocations: 60 kB / 0.6025 GB, free: 7.34 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-05/1.546, allocations: 71.95 kB / 0.6025 GB, free: 7.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/1.547, allocations: 1.042 MB / 0.6036 GB, free: 6.234 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.05344/1.6, allocations: 35.73 MB / 0.6385 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/1.602, allocations: 0.7478 MB / 0.6392 GB, free: 14 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/1.602, allocations: 494.1 kB / 0.6397 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2714/1.874, allocations: 77.94 MB / 0.7158 GB, free: 209 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/1.874, allocations: 44.59 kB / 0.7158 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=194): time 2.765e-06/1.874, allocations: 4 kB / 0.7158 GB, free: 208.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=194): time 0.005142/1.879, allocations: 3.2 MB / 0.719 GB, free: 207.6 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.642e-05/1.879, allocations: 112.8 kB / 0.7191 GB, free: 207.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006777/1.879, allocations: 0.745 MB / 0.7198 GB, free: 207.3 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/1.879, allocations: 32.52 kB / 0.7198 GB, free: 207.3 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002351/1.88, allocations: 0.5487 MB / 0.7204 GB, free: 207.1 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/1.88, allocations: 0.6186 MB / 0.721 GB, free: 206.7 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.88, allocations: 152.9 kB / 0.7211 GB, free: 206.6 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.197e-05/1.88, allocations: 357.2 kB / 0.7214 GB, free: 206.3 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004558/1.881, allocations: 352.8 kB / 0.7218 GB, free: 206.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005302/1.881, allocations: 0.6597 MB / 0.7224 GB, free: 206 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/1.882, allocations: 1.161 MB / 0.7236 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/1.882, allocations: 0.625 kB / 0.7236 GB, free: 205.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=237) (initialization): time 0.002305/1.885, allocations: 1.707 MB / 0.7252 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/1.885, allocations: 13.41 kB / 0.7252 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/1.885, allocations: 7.5 kB / 0.7252 GB, free: 205.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001905/1.887, allocations: 1.124 MB / 0.7263 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/1.887, allocations: 47.98 kB / 0.7264 GB, free: 205.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005052/1.892, allocations: 9.86 MB / 0.736 GB, free: 196.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005263/1.892, allocations: 161.5 kB / 0.7362 GB, free: 196.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.314e-05/1.892, allocations: 46.7 kB / 0.7362 GB, free: 196.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 36 (sinkP2.C.a,singularPressureLoss8.C2.b,singularPressureLoss8.C1.a,singularPressureLoss7.C2.b,singularPressureLoss7.C1.a,sourceQ1.C.b,massFlowMultiplier.Cs.b,massFlowMultiplier.Ce.a,singularPressureLoss6.C2.b,singularPressureLoss6.C1.a,sourceQ.C.b,sinkP1.C.a,sourceP3.C.b,sourceP2.C.b,singularPressureLoss5.C2.b,singularPressureLoss5.C1.a,singularPressureLoss4.C2.b,singularPressureLoss4.C1.a,singularPressureLoss3.C2.b,singularPressureLoss3.C1.a,mixer2_2.Ce3.a,mixer2_2.Ce1.a,mixer2_2.Cs.b,mixer2_2.Ce2.a,sinkP.C.a,sourceP1.C.b,sourceP.C.b,singularPressureLoss2.C2.b,singularPressureLoss2.C1.a,singularPressureLoss1.C2.b,singularPressureLoss1.C1.a,singularPressureLoss.C2.b,singularPressureLoss.C1.a,mixer2_1.Ce1.a,mixer2_1.Cs.b,mixer2_1.Ce2.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003242/1.893, allocations: 293.8 kB / 0.7365 GB, free: 196.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/1.893, allocations: 115.4 kB / 0.7366 GB, free: 196.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003501/1.896, allocations: 3.943 MB / 0.7405 GB, free: 195.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00221/1.899, allocations: 2.052 MB / 0.7425 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/1.899, allocations: 9.984 kB / 0.7425 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.211e-05/1.899, allocations: 9.984 kB / 0.7425 GB, free: 195.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/1.904, allocations: 5.149 MB / 0.7475 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/1.904, allocations: 3.875 kB / 0.7475 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003987/1.904, allocations: 201.6 kB / 0.7477 GB, free: 193.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/1.906, allocations: 1.201 MB / 0.7489 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/1.906, allocations: 35.88 kB / 0.7489 GB, free: 193 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004717/1.911, allocations: 9.969 MB / 0.7586 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/1.911, allocations: 7.609 kB / 0.7587 GB, free: 183.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002422/1.913, allocations: 2.453 MB / 0.761 GB, free: 182.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003404/1.913, allocations: 389.9 kB / 0.7614 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-05/1.913, allocations: 34.91 kB / 0.7615 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005058/1.914, allocations: 64.89 kB / 0.7615 GB, free: 182.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001153/1.914, allocations: 115.3 kB / 0.7616 GB, free: 182 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/1.914, allocations: 45.69 kB / 0.7617 GB, free: 182 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005152/1.915, allocations: 0.6083 MB / 0.7623 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.915, allocations: 0 / 0.7623 GB, free: 181.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002571/1.917, allocations: 1.572 MB / 0.7638 GB, free: 180.2 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (142): * Single equations (assignments): 127 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003923/1.921, allocations: 1.819 MB / 0.7656 GB, free: 178.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002592/1.924, allocations: 2.461 MB / 0.768 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/1.924, allocations: 4.625 kB / 0.768 GB, free: 176.1 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/1.926, allocations: 1.349 MB / 0.7693 GB, free: 174.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/1.929, allocations: 0.7123 MB / 0.77 GB, free: 174 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003131/1.932, allocations: 4.064 MB / 0.774 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/1.933, allocations: 1.425 MB / 0.7754 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001086/1.933, allocations: 87.44 kB / 0.7754 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of SimCode: time 2.3e-07/1.933, allocations: 0 / 0.7754 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.07696/2.01, allocations: 133.3 MB / 0.9056 GB, free: 35.68 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2.makefile make -j1 -f ThermoSysPro_ThermoSysPro.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2CalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestJunctions2CalcHelperMain.o] Error 1