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.6898/0.6898, allocations: 150.8 MB / 166.7 MB, free: 15.65 MB / 142.1 MB Notification: Performance of FrontEnd - loaded program: time 1.235e-05/1.242e-05, allocations: 4 kB / 205.4 MB, free: 10.19 MB / 174.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1192, allocations: 31.98 MB / 237.4 MB, free: 5.395 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.TestCompressor): time 1.316/1.435, allocations: 294.4 MB / 0.5194 GB, free: 12.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.388/1.823, allocations: 192.1 MB / 0.707 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000285/1.824, allocations: 2.906 kB / 0.707 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003944/1.824, allocations: 143.7 kB / 0.7071 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0003739/1.825, allocations: 157.5 kB / 0.7072 GB, free: 3.816 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.02207/1.847, allocations: 10.35 MB / 0.7174 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0005086/1.847, allocations: 0.6073 MB / 0.718 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002371/1.847, allocations: 192 kB / 0.7181 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002687/1.848, allocations: 223 kB / 0.7183 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001758/1.848, allocations: 200.6 kB / 0.7185 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/1.848, allocations: 17.11 kB / 0.7186 GB, free: 3.672 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02808/1.876, allocations: 23.4 MB / 0.7414 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 8.232e-05/1.876, allocations: 71.64 kB / 0.7415 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002579/1.876, allocations: 257.8 kB / 0.7417 GB, free: 1.875 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008897/1.885, allocations: 7.907 MB / 0.7494 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/1.885, allocations: 0 / 0.7494 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/1.885, allocations: 0 / 0.7494 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.016e-05/1.885, allocations: 0 / 0.7494 GB, free: 14.71 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.003805/1.889, allocations: 2.03 MB / 0.7514 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.02e-05/1.889, allocations: 8.219 kB / 0.7514 GB, free: 13.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.801e-05/1.889, allocations: 51.59 kB / 0.7515 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002738/1.889, allocations: 304.3 kB / 0.7518 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/1.89, allocations: 34.66 kB / 0.7518 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.739e-05/1.89, allocations: 37.12 kB / 0.7518 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005476/1.89, allocations: 0.5083 MB / 0.7523 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/1.89, allocations: 6.25 kB / 0.7523 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/1.89, allocations: 17.81 kB / 0.7524 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.616e-05/1.89, allocations: 22.89 kB / 0.7524 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003622/1.891, allocations: 320.9 kB / 0.7527 GB, free: 12.86 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.00203/1.893, allocations: 2.744 MB / 0.7554 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004345/1.893, allocations: 280.9 kB / 0.7556 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001695/1.893, allocations: 149 kB / 0.7558 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2081/2.101, allocations: 126 MB / 0.8788 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.54e-05/2.101, allocations: 44.28 kB / 0.8788 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/2.101, allocations: 0 / 0.8788 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of matching and sorting (n=65): time 0.002165/2.104, allocations: 1.005 MB / 0.8798 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/2.104, allocations: 59.34 kB / 0.8799 GB, free: 5.684 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/2.104, allocations: 351.2 kB / 0.8802 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/2.104, allocations: 29.7 kB / 0.8802 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/2.104, allocations: 212.9 kB / 0.8804 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/2.104, allocations: 214.6 kB / 0.8806 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.381e-05/2.104, allocations: 52.38 kB / 0.8807 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001087/2.104, allocations: 356.9 kB / 0.881 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001663/2.105, allocations: 108.6 kB / 0.8811 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/2.105, allocations: 216.9 kB / 0.8813 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004299/2.105, allocations: 379.7 kB / 0.8817 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/2.105, allocations: 0 / 0.8817 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001102/2.106, allocations: 0.5904 MB / 0.8823 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/2.106, allocations: 8 kB / 0.8823 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/2.106, allocations: 0 / 0.8823 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008465/2.107, allocations: 355.8 kB / 0.8826 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002288/2.108, allocations: 46.61 kB / 0.8827 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001101/2.109, allocations: 1.849 MB / 0.8845 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002409/2.109, allocations: 58.98 kB / 0.8845 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.266e-05/2.109, allocations: 15.88 kB / 0.8846 GB, free: 1.516 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.0001428/2.109, allocations: 162.6 kB / 0.8847 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/2.109, allocations: 45.12 kB / 0.8848 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001134/2.11, allocations: 1.056 MB / 0.8858 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0008289/2.111, allocations: 0.772 MB / 0.8865 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/2.111, allocations: 0 / 0.8865 GB, free: 136 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/2.111, allocations: 3.984 kB / 0.8865 GB, free: 132 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002206/2.113, allocations: 1.887 MB / 0.8884 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/2.113, allocations: 0 / 0.8884 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/2.114, allocations: 101.5 kB / 0.8885 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007196/2.114, allocations: 372 kB / 0.8888 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.197e-05/2.114, allocations: 15.19 kB / 0.8889 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/2.116, allocations: 1.913 MB / 0.8907 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/2.116, allocations: 0 / 0.8907 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/2.117, allocations: 0.9208 MB / 0.8916 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/2.117, allocations: 190 kB / 0.8918 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/2.117, allocations: 15.36 kB / 0.8918 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002056/2.117, allocations: 21.23 kB / 0.8918 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/2.117, allocations: 35.98 kB / 0.8919 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.371e-05/2.117, allocations: 23.67 kB / 0.8919 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002093/2.117, allocations: 247.2 kB / 0.8921 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/2.117, allocations: 0 / 0.8921 GB, free: 11.32 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00394/2.121, allocations: 2.01 MB / 0.8941 GB, free: 9.438 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.006347/2.128, allocations: 2.97 MB / 0.897 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009078/2.129, allocations: 0.7231 MB / 0.8977 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/2.129, allocations: 0 / 0.8977 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004772/2.129, allocations: 382.4 kB / 0.8981 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/2.13, allocations: 270 kB / 0.8983 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001497/2.132, allocations: 1.514 MB / 0.8998 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/2.132, allocations: 0.9193 MB / 0.9007 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.749e-05/2.132, allocations: 53.39 kB / 0.9007 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/2.132, allocations: 0 / 0.9007 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of Templates: time 0.04931/2.182, allocations: 46.54 MB / 0.9462 GB, free: 5.043 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