Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.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.TestCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor") translateModel(ThermoSysPro.Examples.SimpleExamples.TestCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/package.mo): time 0.8461/0.8461, allocations: 150.8 MB / 166.6 MB, free: 14.56 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002842/0.0002842, allocations: 15.98 kB / 204.6 MB, free: 10.08 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1754, allocations: 31.33 MB / 236 MB, free: 5.438 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.SimpleExamples.TestCompressor): time 1.668/1.844, allocations: 293.5 MB / 0.5171 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.6086/2.453, allocations: 194.4 MB / 0.7069 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003999/2.453, allocations: 2.938 kB / 0.7069 GB, free: 3.727 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoSysPro 4.0.0-master/WaterSteam/Machines/Compressor.mo:19:3-21:16: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/Machines/Compressor.mo:22:3-23:52:writable] Warning: Connector C2 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/Sink.mo:17:3-19:16: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/SourcePQ.mo:29:3-30:52: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/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53:37:writable] Warning: Connector C2 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/LumpedStraightPipe.mo:49:3-50: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/LumpedStraightPipe.mo:51:3-53: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.0005475/2.454, allocations: 148.5 kB / 0.7071 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003718/2.454, allocations: 154.5 kB / 0.7072 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.03502/2.489, allocations: 10.12 MB / 0.7171 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009785/2.49, allocations: 0.6031 MB / 0.7177 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/2.49, allocations: 221.7 kB / 0.7179 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003322/2.491, allocations: 231.8 kB / 0.7181 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/2.491, allocations: 223.4 kB / 0.7183 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.006e-05/2.491, allocations: 26.16 kB / 0.7184 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.04735/2.538, allocations: 23.28 MB / 0.7411 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002307/2.539, allocations: 80.7 kB / 0.7412 GB, free: 2.262 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005285/2.539, allocations: 248.8 kB / 0.7414 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01896/2.558, allocations: 8.039 MB / 0.7493 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/2.558, allocations: 2.906 kB / 0.7493 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.402e-06/2.558, allocations: 0 / 0.7493 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.336e-06/2.558, allocations: 0 / 0.7493 GB, free: 15.3 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.007605/2.566, allocations: 2.109 MB / 0.7513 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/2.566, allocations: 10.09 kB / 0.7513 GB, free: 13.95 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/2.566, allocations: 53.06 kB / 0.7514 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/2.566, allocations: 302.5 kB / 0.7517 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/2.566, allocations: 35.2 kB / 0.7517 GB, free: 13.67 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.225e-05/2.566, allocations: 38.69 kB / 0.7518 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007289/2.567, allocations: 0.5109 MB / 0.7523 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.539e-05/2.567, allocations: 2.406 kB / 0.7523 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/2.567, allocations: 16.03 kB / 0.7523 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.503e-05/2.567, allocations: 24.67 kB / 0.7523 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000466/2.568, allocations: 326.8 kB / 0.7526 GB, free: 13.42 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.002721/2.57, allocations: 2.726 MB / 0.7553 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005579/2.571, allocations: 281.3 kB / 0.7555 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002128/2.571, allocations: 156 kB / 0.7557 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2326/2.804, allocations: 125 MB / 0.8778 GB, free: 6.727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/2.804, allocations: 33.47 kB / 0.8778 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=65): time 2.845e-06/2.804, allocations: 1.203 kB / 0.8778 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65): time 0.002811/2.807, allocations: 0.996 MB / 0.8788 GB, free: 5.82 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/2.807, allocations: 54.31 kB / 0.8788 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005115/2.807, allocations: 355.2 kB / 0.8792 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.132e-05/2.807, allocations: 29.33 kB / 0.8792 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001657/2.807, allocations: 213.7 kB / 0.8794 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/2.808, allocations: 208.8 kB / 0.8796 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/2.808, allocations: 93.58 kB / 0.8797 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001488/2.808, allocations: 356.1 kB / 0.88 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002254/2.808, allocations: 109.4 kB / 0.8801 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/2.809, allocations: 207.2 kB / 0.8803 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/2.809, allocations: 383.1 kB / 0.8807 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/2.809, allocations: 0.875 kB / 0.8807 GB, free: 4.199 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001352/2.81, allocations: 0.5841 MB / 0.8813 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.222e-05/2.81, allocations: 4 kB / 0.8813 GB, free: 3.777 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.528e-05/2.81, allocations: 4 kB / 0.8813 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009881/2.811, allocations: 350.1 kB / 0.8816 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/2.812, allocations: 42.95 kB / 0.8817 GB, free: 3.422 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001451/2.813, allocations: 1.853 MB / 0.8835 GB, free: 1.645 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003735/2.814, allocations: 51.56 kB / 0.8835 GB, free: 1.598 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-05/2.814, allocations: 19.42 kB / 0.8835 GB, free: 1.582 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (lumpedStraightPipe1.C2.b,lumpedStraightPipe1.C1.a,lumpedStraightPipe.C2.b,lumpedStraightPipe.C1.a,sourceP.C.b,puitsP.C.a,compressor.C2.b,compressor.C1.a) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0002158/2.814, allocations: 160.1 kB / 0.8837 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.715e-05/2.814, allocations: 39.44 kB / 0.8837 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/2.815, allocations: 1.071 MB / 0.8848 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.001057/2.817, allocations: 0.7656 MB / 0.8855 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.999e-06/2.817, allocations: 0 / 0.8855 GB, free: 196 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/2.817, allocations: 7.922 kB / 0.8855 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/2.82, allocations: 1.88 MB / 0.8874 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/2.82, allocations: 4 kB / 0.8874 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004199/2.82, allocations: 100.9 kB / 0.8875 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000931/2.821, allocations: 359 kB / 0.8878 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/2.821, allocations: 11 kB / 0.8878 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001753/2.823, allocations: 1.916 MB / 0.8897 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/2.823, allocations: 3.828 kB / 0.8897 GB, free: 12.53 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00199/2.825, allocations: 0.9226 MB / 0.8906 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003847/2.825, allocations: 181.7 kB / 0.8908 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/2.825, allocations: 18.31 kB / 0.8908 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003761/2.826, allocations: 19.83 kB / 0.8908 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.707e-05/2.826, allocations: 46.78 kB / 0.8909 GB, free: 11.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/2.826, allocations: 15.75 kB / 0.8909 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003885/2.826, allocations: 247.9 kB / 0.8911 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of sort global known variables: time 3.2e-07/2.826, allocations: 0 / 0.8911 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.009457/2.836, allocations: 2.013 MB / 0.8931 GB, free: 9.52 MB / 0.7325 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 (60): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,4), (1,3), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01635/2.852, allocations: 3.011 MB / 0.896 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00213/2.854, allocations: 0.7273 MB / 0.8967 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.24e-06/2.854, allocations: 3 kB / 0.8967 GB, free: 6.371 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009753/2.855, allocations: 366.1 kB / 0.8971 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002034/2.858, allocations: 269.3 kB / 0.8973 GB, free: 5.926 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/2.861, allocations: 1.482 MB / 0.8988 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006654/2.861, allocations: 0.9282 MB / 0.8997 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/2.861, allocations: 47.44 kB / 0.8997 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of SimCode: time 9.91e-07/2.861, allocations: 0 / 0.8997 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of Templates: time 0.08229/2.944, allocations: 47.47 MB / 0.9461 GB, free: 4.227 MB / 0.7794 GB make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.makefile make -j1 -f ThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressor.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.Examples.SimpleExamples.TestCompressorCalcHelperMain.o OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppThermoSysPro_ThermoSysPro.Examples.SimpleExamples.TestCompressorCalcHelperMain.o] Error 1