Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") translateModel(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.7899/0.7899, allocations: 150.8 MB / 166.6 MB, free: 14.57 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000312/0.0003119, allocations: 15.97 kB / 204.7 MB, free: 10.07 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.146, allocations: 31.34 MB / 236 MB, free: 5.441 MB / 190.1 MB Notification: Automatically loaded package Complex 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package ModelicaServices 4.0.0 due to uses annotation from Modelica. Notification: Automatically loaded package Modelica 4.0.0 due to usage. Notification: Performance of NFInst.instantiate(ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm): time 1.518/1.664, allocations: 292.5 MB / 0.5161 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.03692/1.701, allocations: 37.8 MB / 0.5531 GB, free: 8.246 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/1.701, allocations: 4 kB / 0.5531 GB, free: 8.242 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SourceP.mo:30:3-31:45:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/BoundaryConditions/SinkP.mo:33:3-34:47:writable] Warning: Connector C is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Diaphragm.mo:30:3-32:42:writable] Warning: Connector C1 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/PressureLosses/Diaphragm.mo:33:3-35:37:writable] Warning: Connector C2 is not balanced: The number of potential variables (4) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0003253/1.702, allocations: 100.6 kB / 0.5532 GB, free: 8.145 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001572/1.702, allocations: 83.38 kB / 0.5532 GB, free: 8.062 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01772/1.72, allocations: 7.203 MB / 0.5603 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003943/1.72, allocations: 326.9 kB / 0.5606 GB, free: 0.5391 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001691/1.72, allocations: 110.6 kB / 0.5607 GB, free: 436 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001727/1.72, allocations: 135.3 kB / 0.5608 GB, free: 300 kB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001197/1.72, allocations: 111.4 kB / 0.5609 GB, free: 188 kB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.51e-05/1.72, allocations: 20 kB / 0.5609 GB, free: 168 kB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02495/1.745, allocations: 17.8 MB / 0.5783 GB, free: 14.34 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.569e-05/1.745, allocations: 47.67 kB / 0.5784 GB, free: 14.29 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001696/1.746, allocations: 119.4 kB / 0.5785 GB, free: 14.18 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008471/1.754, allocations: 5.743 MB / 0.5841 GB, free: 8.418 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.754, allocations: 0 / 0.5841 GB, free: 8.418 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.32e-07/1.754, allocations: 0 / 0.5841 GB, free: 8.418 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/1.754, allocations: 0 / 0.5841 GB, free: 8.418 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003086/1.757, allocations: 1.458 MB / 0.5855 GB, free: 6.906 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/1.757, allocations: 8.031 kB / 0.5855 GB, free: 6.898 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/1.757, allocations: 27.72 kB / 0.5855 GB, free: 6.871 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/1.758, allocations: 228.4 kB / 0.5858 GB, free: 6.609 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.293e-05/1.758, allocations: 20.44 kB / 0.5858 GB, free: 6.59 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/1.758, allocations: 20 kB / 0.5858 GB, free: 6.57 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000395/1.758, allocations: 322.3 kB / 0.5861 GB, free: 6.227 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/1.758, allocations: 7.938 kB / 0.5861 GB, free: 6.219 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.112e-05/1.758, allocations: 12 kB / 0.5861 GB, free: 6.207 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.086e-05/1.758, allocations: 4 kB / 0.5861 GB, free: 6.203 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000236/1.758, allocations: 177 kB / 0.5863 GB, free: 6.031 MB / 478.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.03218/1.791, allocations: 18.06 MB / 0.6039 GB, free: 2.105 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004263/1.791, allocations: 138.6 kB / 0.6041 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/1.791, allocations: 92.83 kB / 0.6042 GB, free: 1.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1361/1.927, allocations: 77.46 MB / 0.6798 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.546e-05/1.927, allocations: 34.56 kB / 0.6798 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=34): time 3.316e-06/1.927, allocations: 0.8906 kB / 0.6798 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of matching and sorting (n=34): time 0.0009113/1.928, allocations: 427.4 kB / 0.6802 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.738e-05/1.928, allocations: 77.11 kB / 0.6803 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/1.929, allocations: 223 kB / 0.6805 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/1.929, allocations: 25.7 kB / 0.6806 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.687e-05/1.929, allocations: 160.4 kB / 0.6807 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-05/1.929, allocations: 110.3 kB / 0.6808 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.19e-05/1.929, allocations: 49.69 kB / 0.6809 GB, free: 10.43 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001069/1.929, allocations: 346.8 kB / 0.6812 GB, free: 10.08 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.929, allocations: 67.98 kB / 0.6813 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001496/1.929, allocations: 135 kB / 0.6814 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/1.929, allocations: 229.3 kB / 0.6816 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.929, allocations: 0 / 0.6816 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0004335/1.93, allocations: 298 kB / 0.6819 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/1.93, allocations: 11.92 kB / 0.6819 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/1.93, allocations: 12.09 kB / 0.6819 GB, free: 9.297 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000924/1.931, allocations: 130.9 kB / 0.682 GB, free: 9.168 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.867e-05/1.931, allocations: 15.98 kB / 0.6821 GB, free: 9.152 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005235/1.932, allocations: 0.6226 MB / 0.6827 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001575/1.932, allocations: 35.53 kB / 0.6827 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/1.932, allocations: 4 kB / 0.6827 GB, free: 8.465 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 4 (Diaphragm.C2.b,Diaphragm.C1.a,PuitsP1.C.a,SourceP1.C.b) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001277/1.932, allocations: 133.8 kB / 0.6828 GB, free: 8.324 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.96e-05/1.932, allocations: 23.78 kB / 0.6829 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008639/1.933, allocations: 0.6047 MB / 0.6834 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005281/1.933, allocations: 234.3 kB / 0.6837 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.933, allocations: 3.938 kB / 0.6837 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/1.933, allocations: 0 / 0.6837 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/1.934, allocations: 0.7422 MB / 0.6844 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.934, allocations: 0 / 0.6844 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.262e-05/1.935, allocations: 19.94 kB / 0.6844 GB, free: 6.566 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006644/1.935, allocations: 140.7 kB / 0.6845 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.935, allocations: 0 / 0.6845 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000462/1.936, allocations: 0.6406 MB / 0.6852 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.936, allocations: 0 / 0.6852 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005997/1.936, allocations: 345.1 kB / 0.6855 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.883e-05/1.936, allocations: 112.8 kB / 0.6856 GB, free: 5.277 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.296e-05/1.936, allocations: 11.78 kB / 0.6856 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/1.937, allocations: 11.98 kB / 0.6856 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.88e-05/1.937, allocations: 9.812 kB / 0.6856 GB, free: 5.246 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.805e-06/1.937, allocations: 8 kB / 0.6856 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002304/1.937, allocations: 234 kB / 0.6859 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/1.937, allocations: 0 / 0.6859 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003068/1.94, allocations: 1.214 MB / 0.6871 GB, free: 3.797 MB / 0.5762 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 (13): * Single equations (assignments): 12 * 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 {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006064/1.946, allocations: 1.82 MB / 0.6888 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006423/1.947, allocations: 250.6 kB / 0.6891 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/1.947, allocations: 4 kB / 0.6891 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002561/1.947, allocations: 87.91 kB / 0.6892 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007383/1.948, allocations: 122.5 kB / 0.6893 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008961/1.949, allocations: 0.6422 MB / 0.6899 GB, free: 0.8555 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002993/1.949, allocations: 0.7675 MB / 0.6907 GB, free: 64 kB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.478e-05/1.949, allocations: 31.44 kB / 0.6907 GB, free: 32 kB / 0.5762 GB Notification: Performance of SimCode: time 5.71e-07/1.949, allocations: 0 / 0.6907 GB, free: 32 kB / 0.5762 GB Notification: Performance of Templates: time 0.1962/2.145, allocations: 25.35 MB / 0.7154 GB, free: 218.3 MB / 0.5762 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragm.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.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.Book.SimpleExamples.PressureLoss.TestDiaphragmCalcHelperMain.o] Error 1