Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") translateModel(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007468/0.0007468, allocations: 91.53 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007973/0.0007973, allocations: 182.6 kB / 16.92 MB, free: 6.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001865/0.001866, allocations: 266.8 kB / 292.3 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9267/0.9267, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004431/0.0004434, allocations: 11.84 kB / 0.5993 GB, free: 27.99 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.209/0.2094, allocations: 88.55 MB / 0.6858 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor): time 0.002239/0.2117, allocations: 1.707 MB / 0.6874 GB, free: 13.34 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002448/0.2142, allocations: 1.703 MB / 0.6891 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/0.2143, allocations: 4 kB / 0.6891 GB, free: 11.64 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.679e-05/0.2143, allocations: 11.86 kB / 0.6891 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.2144, allocations: 49.67 kB / 0.6892 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008185/0.2153, allocations: 295.8 kB / 0.6894 GB, free: 11.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.2155, allocations: 212.8 kB / 0.6896 GB, free: 11.09 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.2156, allocations: 51.09 kB / 0.6897 GB, free: 11.04 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.333e-05/0.2157, allocations: 63.84 kB / 0.6898 GB, free: 10.97 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.2159, allocations: 80.55 kB / 0.6898 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.468e-05/0.2159, allocations: 8 kB / 0.6898 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006996/0.2166, allocations: 393.4 kB / 0.6902 GB, free: 10.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.2167, allocations: 31.91 kB / 0.6902 GB, free: 10.47 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.895e-05/0.2168, allocations: 114 kB / 0.6904 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.2172, allocations: 307.2 kB / 0.6907 GB, free: 10.05 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.123e-05/0.2172, allocations: 8 kB / 0.6907 GB, free: 10.05 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2172, allocations: 0 / 0.6907 GB, free: 10.05 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.2172, allocations: 0 / 0.6907 GB, free: 10.05 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007199/0.218, allocations: 491.1 kB / 0.6911 GB, free: 9.512 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.218, allocations: 16.02 kB / 0.6911 GB, free: 9.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006164/0.2186, allocations: 96.66 kB / 0.6912 GB, free: 9.402 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001316/0.2188, allocations: 180.2 kB / 0.6914 GB, free: 9.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.252e-05/0.2189, allocations: 50.25 kB / 0.6915 GB, free: 9.133 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.2189, allocations: 16.38 kB / 0.6915 GB, free: 9.117 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004372/0.2193, allocations: 187.2 kB / 0.6916 GB, free: 8.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.2194, allocations: 3.938 kB / 0.6917 GB, free: 8.926 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/0.2194, allocations: 11.94 kB / 0.6917 GB, free: 8.914 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.2194, allocations: 4 kB / 0.6917 GB, free: 8.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004724/0.2199, allocations: 192.3 kB / 0.6919 GB, free: 8.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.2213, allocations: 0.9112 MB / 0.6927 GB, free: 7.688 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.2218, allocations: 190.5 kB / 0.6929 GB, free: 7.492 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.222, allocations: 80.81 kB / 0.693 GB, free: 7.41 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.2227, allocations: 0.5259 MB / 0.6935 GB, free: 6.773 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.2227, allocations: 34.56 kB / 0.6935 GB, free: 6.73 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.183e-06/0.2227, allocations: 0 / 0.6935 GB, free: 6.73 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.0007332/0.2234, allocations: 253.7 kB / 0.6938 GB, free: 6.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.2235, allocations: 51.41 kB / 0.6938 GB, free: 6.414 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.2236, allocations: 158.4 kB / 0.694 GB, free: 6.25 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.2237, allocations: 33.69 kB / 0.694 GB, free: 6.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.8e-05/0.2237, allocations: 115.8 kB / 0.6941 GB, free: 6.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/0.2238, allocations: 55.28 kB / 0.6942 GB, free: 6.039 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.59e-05/0.2238, allocations: 21.66 kB / 0.6942 GB, free: 6.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.224, allocations: 322.8 kB / 0.6945 GB, free: 5.688 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002026/0.2242, allocations: 79.95 kB / 0.6946 GB, free: 5.609 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.2244, allocations: 103.6 kB / 0.6947 GB, free: 5.504 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.2248, allocations: 151.7 kB / 0.6948 GB, free: 5.352 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.2248, allocations: 7.938 kB / 0.6948 GB, free: 5.344 MB / 494.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004956/0.2253, allocations: 217.5 kB / 0.695 GB, free: 5.125 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.2253, allocations: 4 kB / 0.6951 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2253, allocations: 0 / 0.6951 GB, free: 5.121 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.2253, allocations: 4 kB / 0.6951 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002529/0.2256, allocations: 43.94 kB / 0.6951 GB, free: 5.074 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.2256, allocations: 8 kB / 0.6951 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2258, allocations: 19.83 kB / 0.6951 GB, free: 5.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2258, allocations: 8 kB / 0.6951 GB, free: 5.039 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (com.isOn,$PRE.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001182/0.226, allocations: 135 kB / 0.6953 GB, free: 4.898 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.226, allocations: 15.81 kB / 0.6953 GB, free: 4.883 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005292/0.2266, allocations: 205.4 kB / 0.6955 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.2266, allocations: 3.984 kB / 0.6955 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.2266, allocations: 0 / 0.6955 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.2266, allocations: 0 / 0.6955 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001363/0.228, allocations: 0.9934 MB / 0.6964 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.228, allocations: 0 / 0.6964 GB, free: 3.527 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002/0.2282, allocations: 35.91 kB / 0.6965 GB, free: 3.492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.2282, allocations: 4 kB / 0.6965 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.2282, allocations: 0 / 0.6965 GB, free: 3.488 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.2282, allocations: 4 kB / 0.6965 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2282, allocations: 3.938 kB / 0.6965 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004893/0.2287, allocations: 297 kB / 0.6968 GB, free: 3.168 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.022e-05/0.2288, allocations: 100.8 kB / 0.6969 GB, free: 3.051 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.2288, allocations: 4 kB / 0.6969 GB, free: 3.047 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002219/0.229, allocations: 23.97 kB / 0.6969 GB, free: 3.023 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.025e-05/0.2291, allocations: 11.92 kB / 0.6969 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.2291, allocations: 8 kB / 0.6969 GB, free: 3.004 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.781e-05/0.2292, allocations: 121.3 kB / 0.697 GB, free: 2.887 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2292, allocations: 0 / 0.697 GB, free: 2.887 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004423/0.2297, allocations: 123.9 kB / 0.6971 GB, free: 2.766 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 1 (com.isOn) * Number of discrete states: 1 (com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004314/0.2301, allocations: 227 kB / 0.6974 GB, free: 2.535 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004658/0.2306, allocations: 183.9 kB / 0.6975 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.2306, allocations: 0 / 0.6975 GB, free: 2.355 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002084/0.2308, allocations: 92.02 kB / 0.6976 GB, free: 2.266 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004017/0.2312, allocations: 44.5 kB / 0.6977 GB, free: 2.227 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.2319, allocations: 415.2 kB / 0.6981 GB, free: 1.781 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.2322, allocations: 0.7166 MB / 0.6988 GB, free: 1.039 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.678e-05/0.2323, allocations: 23.44 kB / 0.6988 GB, free: 1.016 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2323, allocations: 0 / 0.6988 GB, free: 1.016 MB / 494.1 MB Notification: Performance of Templates: time 0.00694/0.2392, allocations: 3.846 MB / 0.7025 GB, free: 13.2 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressor.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 OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressorCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressorCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Fluid.HeatPumps.Compressors.Validation.ReciprocatingCompressorCalcHelperMain.o] Error 1